:root{
  --bg: #F6EEDD;
  --bg2:#FBF6EE;
  --card:#FFFDF9;

  --accent:#E36F3D;
  --accent2:#C85A33;

  --text:#4A0E14;
  --muted:#6A3A3F;

  --line: rgba(227,111,61,.45);

  --radius: 18px;
  --radius2: 26px;
  --container: 1120px;
}

*{ box-sizing:border-box; }
html,body{
  margin:0;
  color:var(--text);
  background: var(--bg2);
  font-family: "Playfair Display", Georgia, serif;
}

p, li, .lead, .nav a, .contact__row, .form input, .form textarea{
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

img{ max-width:100%; display:block; }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

h1,h2,h3{
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing:.2px;
  margin:0 0 14px;
  color: var(--text);
}
h1{ font-size: clamp(34px, 4vw, 58px); line-height:1.02; }
h2{
  font-size: clamp(26px, 3vw, 40px);
  line-height:1.15;
  text-align:center;
  margin-bottom: 26px;
}
h3{ font-size: 20px; line-height:1.2; }

p{
  margin:0 0 12px;
  color:var(--muted);
  line-height:1.7;
  font-size: 15px;
}
strong{ color:var(--text); }

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset: 3px; }

.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(251,246,238,.92);
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:16px;
}

.brand{ display:flex; align-items:center; gap:12px; }
.brand__logo{ width:150px; height:auto; }
.brand__tag{
  display:block;
  font-size:12px;
  color:rgba(74,14,20,.70);
  text-transform: lowercase;
}

.nav{ display:flex; align-items:center; gap:18px; }
.nav a{ font-size:14px; font-weight:600; color:rgba(74,14,20,.86); }

.nav a.nav__home{ margin-right: 22px; }

.nav a.btn{ color:white; }

.burger{
  display:none;
  width:44px; height:44px;
  border:1px solid var(--line);
  background: transparent;
  border-radius:14px;
  padding:10px;
  cursor:pointer;
}
.burger span{
  display:block; height:2px; margin:5px 0;
  background: rgba(74,14,20,.8);
  border-radius:2px;
}

.hero{
  position:relative;
  padding: 80px 0 60px;
  background: var(--bg);
}
.hero__bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity: 1;
  }
.hero__overlay{
  position: absolute;
  inset: 0;
  /* readable on the left, almost no veil on the right */
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.78) 0%,
    rgba(255,255,255,.62) 26%,
    rgba(255,255,255,.32) 42%,
    rgba(255,255,255,.12) 50%,
    rgba(255,255,255,0) 58%,
    rgba(255,255,255,0) 100%
  );
}
.hero__content{
  position:relative;
  max-width: 760px;
  padding-top: 40px;
}

.hero__grid{
  align-items: center;
  gap: 34px;
}
.hero__grid .hero__content{ max-width: none; }

.hero__media{
  padding: 0;
  border-radius: var(--radius2);
  overflow: hidden;
}
.hero__img{
  display:block;
  width:100%;
  height:100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.lead{
  font-size: 16px;
  max-width: 68ch;
  color: rgba(74,14,20,.78);
}

.hero__cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  font-weight:700;
  text-decoration:none !important;
}
.btn:hover{ background: var(--accent2); border-color: var(--accent2); }
.btn--ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover{ background: rgba(255,255,255,.55); }
.btn--small{ padding: 10px 12px; border-radius: 12px; }

.hero__bullets{
  margin: 18px 0 22px;
  padding: 0 0 0 18px;
}
.hero__bullets li{
  margin: 10px 0;
}

.section{ padding: 90px 0; background: transparent; }
.section--alt{
  background: rgba(246,238,221,.55);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.grid{
  display:grid;
  gap: 26px;
}
.grid--2{
  grid-template-columns: 1.1fr .9fr;
  align-items:start;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 18px;
}
.cards--projects{
  grid-template-columns: repeat(3, minmax(0,1fr));
}

/* Card base */
.card{
  background: var(--card);
  border: 1px solid rgba(227,111,61,.22);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: none;
}

.media{ padding: 14px; border-radius: var(--radius2); overflow:hidden; }
.media figcaption{
  font-size: 12px;
  color: rgba(74,14,20,.65);
  padding: 10px 6px 0;
}
.media--wide{ margin-top: 18px; }
.media--clean{ padding: 14px; }

.stack{ display:grid; gap:14px; margin-top: 10px; }

.panel{
  padding: 16px;
  border: 1px solid rgba(227,111,61,.18);
  border-radius: var(--radius);
  background: rgba(255,253,249,.92);
}

.note{
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  color: rgba(74,14,20,.78);
}

.bullets{ margin: 10px 0 0; padding-left: 18px; color: rgba(74,14,20,.78); }
.bullets li{ margin: 10px 0; }
.bullets--big li{ font-size: 17px; margin: 14px 0; }

/* Form */
.form h3{ margin-bottom: 10px; }
.form label{
  display:block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(74,14,20,.85);
  margin: 10px 0;
}
.form input, .form textarea{
  width:100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(74,14,20,.25);
  background: rgba(255,255,255,.95);
  font: inherit;
  color: var(--text);
  outline:none;
}
.form input:focus, .form textarea:focus{
  border-color: rgba(227,111,61,.8);
  box-shadow: 0 0 0 3px rgba(227,111,61,.16);
}

.contact{
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(255,255,255,.55);
}
.contact__row{
  display:flex; justify-content:space-between; gap:14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.contact__row:last-child{ border-bottom:none; }
.contact__row span{ color: rgba(74,14,20,.7); }

.tiny{ font-size: 12px; color: rgba(74,14,20,.6); margin-top: 14px; }

.footer{
  background: rgba(251,246,238,.92);
  margin-top: 0;
  padding: 16px 0;
}
.footer__inner{
  display:flex; justify-content:space-between; align-items:center;
  color: rgba(74,14,20,.7);
  font-size: 13px;
}

/* Footer bar layout (Home | © ... | Indiki) */
.footer__bar{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.footer__copy{ justify-self: center; }
.footer__action{ 
  color: rgba(74,14,20,.78);
  letter-spacing: .2px;
  border-bottom: 1px solid transparent;
  padding: 8px 12px;
}
.footer__action:hover{
  color: rgba(74,14,20,.95);
  border-bottom-color: rgba(74,14,20,.25);
}
.footer__action--home{ justify-self: start; }
.footer__action--next{ justify-self: end; }

@media (max-width: 680px){
  .footer__bar{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__action--home,
  .footer__action--next{
    justify-self: center;
  }

  .hero__grid{ grid-template-columns: 1fr; }
  .hero__img{ aspect-ratio: 16 / 9; }
}

.photo-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  align-items: stretch;
}

.photo{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(227,111,61,.25);
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.photo img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display:block;
  transition: transform .6s ease;
}

.photo:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,.10);
  border-color: rgba(227,111,61,.45);
}
.photo:hover img{
  transform: scale(1.04);
}

.photo--wide{ grid-column: 1 / -1; }
.photo--wide img{ aspect-ratio: 16 / 9; }

.photo--tall img{ aspect-ratio: 3 / 4; }

@media (max-width: 980px){
  .grid--2{ grid-template-columns: 1fr; }
  .cards, .cards--projects{ grid-template-columns: 1fr; }

  .nav{
    display:none;
    position:absolute; top:68px; right:20px; left:20px;
    background: rgba(251,246,238,.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }
  .nav--open{ display:flex; }
  .nav a{ padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.65); }
  .nav a.btn{ background: var(--accent); border-color: var(--accent); }
  .burger{ display:block; }
}

@media (max-width: 900px){
  .photo-grid{ grid-template-columns: 1fr; }
}

.footer{
  margin-top: 40px;
  padding: 36px 0;
  background: rgba(251,246,238,.96);
  }

.footer__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer__brand{
  display:flex;
  flex-direction:column;
  gap: 4px;
  font-size: 14px;
}
.footer__brand strong{
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
}
.footer__brand span{
  color: rgba(74,14,20,.65);
  font-size: 12px;
}

.footer__contacts{
  display:flex;
  gap: 22px;
  flex-wrap:wrap;
  justify-content:center;
}

.footer__link{
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 14px;
  color: rgba(74,14,20,.85);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease;
}

.footer__link:hover{
  background: rgba(227,111,61,.12);
  color: var(--text);
  transform: translateY(-2px);
  text-decoration:none;
}

.footer__copy{
  font-size: 12px;
  color: rgba(74,14,20,.6);
  text-align: center;
}

/* Mobile */
@media (max-width: 900px){
  .footer__inner{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .footer__copy{
    text-align:center;
  }
}

.section--no-bottom-border{
  border-bottom:none !important;
}

.footer__logo{
  height: 25px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.footer__tag{
  color: rgba(74,14,20,.65);
  font-size: 12px;
  font-family: Montserrat, system-ui, sans-serif;
}
  
/* Vision section without image (clean single-column layout) */
.section--vision .grid--2{
  grid-template-columns: 1fr;
  max-width: 780px;
  margin: 0 auto;
  align-items: start;
}

.section--vision h2{
  text-align: center;
}

.section--vision .stack{
  margin-top: 18px;
  gap: 16px;
}

.section--vision .panel{
  padding: 18px 20px;
}

  
/* Partners logos */
.partners-grid{
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.partner-card{
  background: rgba(255,253,249,.95);
  border: 1px solid rgba(74,14,20,.14);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.partner-card img{
  max-height: 64px;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 700px){
  .partners-grid{
    grid-template-columns: 1fr;
  }
}


/* Partners section text alignment */
#partners h2,
#partners .lead{
  text-align: center;
}

#partners .lead{
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}


/* Larger images for Why Catering section */
#why .photo-grid{
  gap: 18px;
}

#why .photo img{
  aspect-ratio: 16 / 10;
}


/* Center the top navigation on desktop */
@media (min-width: 981px){
  .topbar__inner{
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .nav{
    justify-self: center;
  }
}

/* Hero title with logo */
.hero__title{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__logo{
  height: 52px;
  width: auto;
}
@media (max-width: 520px){
  .hero__logo{ height: 44px; }
}


/* Hero background: responsive visibility */
@media (min-width: 981px){
  .hero__bg{ opacity: 1;
  }
}

@media (max-width: 980px){
  .hero__bg{ opacity: 1;
  }
  .hero__overlay{
  position: absolute;
  inset: 0;
  /* readable on the left, almost no veil on the right */
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.78) 0%,
    rgba(255,255,255,.62) 26%,
    rgba(255,255,255,.32) 42%,
    rgba(255,255,255,.12) 50%,
    rgba(255,255,255,0) 58%,
    rgba(255,255,255,0) 100%
  );
}
}


.bakery-photo{
    transform: none !important;
  }

/* Dominant bakery photo */
.bakery-photo--dominant{
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.bakery-photo--dominant img{
  aspect-ratio: 16 / 9;
}

/* Captions over bakery photos */
.bakery-photo{
  position: relative;
}

.bakery-caption{
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(74,14,20,.72);
  color: #fff;
  font-size: 12px;
  border-radius: 10px;
  font-family: Montserrat, system-ui, sans-serif;
  }

@media (max-width: 900px){
  .bakery-photo--dominant{
    grid-column: span 1;
  }
}


/* Bakery photos layout: dominant + two below */
.bakery-photos--two{
  grid-template-columns: repeat(2, 1fr);
}

.bakery-photos--two .bakery-photo--dominant{
  grid-column: 1 / -1;
}

.bakery-photos--two .bakery-photo{
  aspect-ratio: 4 / 3;
}


/* Ýoda bakery: dominant + two photos with captions */
.bakery-photos{
  position: relative;
  margin-top: 36px;
  display: grid;
  gap: 18px;
}

.bakery-photos--two{
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.bakery-photo{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(227,111,61,.22);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  min-height: 220px;
}

.bakery-photo--dominant{
  grid-column: 1 / -1;
  min-height: 280px;
}

.bakery-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bakery-caption{
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(74,14,20,.68);
  color: #fff;
  font-size: 12px;
  border-radius: 10px;
  font-family: Montserrat, system-ui, sans-serif;
  }

@media (max-width: 900px){
  .bakery-photos--two{
    grid-template-columns: 1fr;
  }
  .bakery-photo--dominant{
    grid-column: auto;
  }
}


/* Ýoda bakery: right-side collage */
.bakery-collage{
  position: relative;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,253,249,.92);
  border: 1px solid rgba(227,111,61,.18);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  align-content: start;
}

.bakery-collage__main{ grid-column: 1 / -1;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid rgba(227,111,61,.22);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.bakery-collage__small{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 170px;
  border: 1px solid rgba(227,111,61,.22);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.bakery-collage img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bakery-caption{
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(74,14,20,.68);
  color: #fff;
  font-size: 12px;
  border-radius: 10px;
  font-family: Montserrat, system-ui, sans-serif;
  }

/* slight "разнобой" but аккуратно */
.bakery-collage__small--a{ transform: rotate(-1.3deg) translateY(6px); }
.bakery-collage__small--b{ transform: rotate(1.2deg) translateY(10px); }

@media (max-width: 980px){
  .bakery-collage{
    grid-template-columns: 1fr;
  }
  .bakery-collage__small--a,
  .bakery-collage__small--b{
    transform: none;
  }
}


/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Footer highlight on navigation */
.footer--highlight {
  animation: footerHighlight 1.6s ease-out;
}

@keyframes footerHighlight {
  0% {
    background-color: rgba(227, 111, 61, 0.35);
  }
  60% {
    background-color: rgba(227, 111, 61, 0.18);
  }
  100% {
    background-color: rgba(251,246,238,.96);
  }
}

/* --- Dark footer bar (custom) --- */
.footer.footer--dark{
  padding: 64px 0;
  background: linear-gradient(90deg, rgba(74,14,20,.88) 0%, rgba(18,10,12,1) 55%, rgba(10,10,12,1) 100%);
}
.footer__inner.footer__inner--bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 18px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
}
.footer__actions{
  display:flex;
  align-items:center;
  gap: 22px;
}
.footer__action{
  color: rgba(255,255,255,.80);
  letter-spacing: .2px;
  border-bottom: 1px solid transparent;
  padding: 8px 12px;
}
.footer__action:hover{
  color: rgba(255,255,255,.95);
  border-bottom-color: rgba(255,255,255,.35);
}
.footer__action:focus-visible{
  outline: 2px solid rgba(255,255,255,.35);
  outline-offset: 4px;
  border-radius: 8px;
}
@media (max-width: 560px){
  .footer.footer--dark{ padding: 46px 0; }
  .footer__inner.footer__inner--bar{
    flex-direction:column;
    align-items:flex-start;
  }
  .footer__actions{ gap: 16px; }
}
/* Contact form */
.form{ display:grid; gap: 12px; }
.form label{ display:grid; gap: 6px; font-size: 14px; color: rgba(74,14,20,.82); }
.input{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  font: inherit;
}
.input:focus{ outline: 2px solid rgba(74,14,20,.18); outline-offset: 2px; }


/* === Footer: match site palette (override) === */
.footer{
  padding: 34px 0;
  background: linear-gradient(180deg, rgba(251,246,238,.96) 0%, rgba(246,238,221,.96) 100%);
}
.footer__inner--bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.footer__copy{
  font-weight: 700;
  color: rgba(74,14,20,.82);
}
.footer__actions{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:flex-end; }
.footer__action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,253,249,.78);
  color: rgba(74,14,20,.86);
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.footer__action:hover{
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-1px);
}
.footer__action:active{ transform: translateY(0); }


/* Banner on home page */
.section--banner{ padding-top: 18px; }
.card--media{ padding:0; overflow:hidden; }
.banner__img{
  display:block;
  width:100%;
  height:auto;
}

/* Hero split layout: content left, full-height image on the right */
.hero--split{
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  background: var(--bg);
}

.hero--split .hero__inner{
  position: relative;
  z-index: 2;
  padding-right: 52%;
}

.hero--split .hero__content{
  max-width: 620px;
}

.hero--split .hero__media{
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 52%;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.hero--split .hero__media::after{
  content:"";
  position:absolute; inset:0;
  /* soft blend into the site background */
  background: linear-gradient(90deg, var(--bg) 0%, rgba(246,238,221,.75) 22%, rgba(246,238,221,.08) 55%, rgba(246,238,221,0) 100%);
  pointer-events:none;
}

.hero--split .hero__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
}

/* Mobile: stack content + image */
@media (max-width: 900px){
  .hero--split{ padding: 64px 0 26px; }
  .hero--split .hero__inner{ padding-right: 0; }
  .hero--split .hero__media{
    position: relative;
    width: 100%;
    height: 280px;
    margin-top: 18px;
    border-radius: var(--radius2);
    border: 1px solid var(--line);
  }
  .hero--split .hero__media::after{ display:none; }
}



/* Light overlay so text stays readable but photo remains bright */
.hero__overlay{
  position: absolute;
  inset: 0;
  /* readable on the left, almost no veil on the right */
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.78) 0%,
    rgba(255,255,255,.62) 26%,
    rgba(255,255,255,.32) 42%,
    rgba(255,255,255,.12) 50%,
    rgba(255,255,255,0) 58%,
    rgba(255,255,255,0) 100%
  );
}

/* Content sits above photo */
.hero .container{
  position: relative;
  z-index: 2;
}

.hero__content{
  max-width: 620px;
  padding: 7.25rem 0;
  text-align: left;
}

/* Keep actions left */
.hero .btn,
.hero .btn-group,
.hero .actions,
.hero .hero__actions{
  justify-content: flex-start;
}

@media (max-width: 720px){
  .hero__overlay{
    background: linear-gradient(
      180deg,
      rgba(255,255,255,.86) 0%,
      rgba(255,255,255,.62) 45%,
      rgba(255,255,255,.14) 85%,
      rgba(255,255,255,0) 100%
    );
  }
  .hero__content{
    padding: 2.25rem 0;
    max-width: 100%;
  }
}



/* Photo fills the entire right side area */
.hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* focus more to the LEFT side of the photo (as requested) */
  object-position: 0% 75%;
  transform: scale(1.06);
  transform-origin: 0% 75%;
  display: block;
}

/* Soft fade on the left edge of the photo to blend with site background */
.hero__mediaFade{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(250,244,235,1) 0%, rgba(250,244,235,.82) 10%, rgba(250,244,235,.40) 24%, rgba(250,244,235,0) 45%);
}

/* Keep buttons left */
.hero .btn,
.hero .btn-group,
.hero .actions,
.hero .hero__actions{
  justify-content: flex-start;
}

@media (max-width: 960px){
  .hero__wrap{
    grid-template-columns: minmax(280px, 520px) 1fr;
  }
  .hero__media{
    min-height: 460px;
  }
}

@media (max-width: 720px){
  .hero__wrap{
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero__content{
    padding: 2.25rem 0 0.5rem;
    max-width: 100%;
  }
  .hero__media{
    min-height: 320px;
    border-radius: 16px;
  }
  .hero__mediaFade{
    background: linear-gradient(180deg, rgba(250,244,235,1) 0%, rgba(250,244,235,.72) 28%, rgba(250,244,235,.18) 65%, rgba(250,244,235,0) 100%);
  }
}


/* --- Hero: photo fixed on the RIGHT side of the section, text stays on the LEFT --- */
.hero{
  position: relative;
  overflow: hidden;
  min-height: 560px;
}

/* Right-side photo occupies the whole right part of the hero (not limited by .container width) */
.hero__media{
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* show the building better */
  object-position: 0% 75%;
  transform: scale(1.06);
  transform-origin: 0% 75%;
  display: block;
}

/* Soft fade on the left edge of the photo to blend into site background */
.hero__mediaFade{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(250,244,235,1) 0%,
    rgba(250,244,235,.88) 12%,
    rgba(250,244,235,.55) 26%,
    rgba(250,244,235,.18) 42%,
    rgba(250,244,235,0) 62%
  );
}

/* Keep content above image and away from the right photo */
.hero .container{
  position: relative;
  z-index: 2;
}

.hero__content{
  max-width: 560px;
  padding: 7.25rem 0;
  text-align: left;
}

/* Buttons left */
.hero .btn,
.hero .btn-group,
.hero .actions,
.hero .hero__actions{
  justify-content: flex-start;
}

@media (max-width: 980px){
  .hero{ min-height: 520px; }
  .hero__media{ width: 52%; }
}

@media (max-width: 720px){
  .hero{ min-height: auto; }
  .hero__media{
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 16px;
    margin-top: 0.75rem;
  }
  .hero__mediaFade{
    background: linear-gradient(180deg,
      rgba(250,244,235,1) 0%,
      rgba(250,244,235,.78) 30%,
      rgba(250,244,235,.18) 70%,
      rgba(250,244,235,0) 100%
    );
  }
  .hero__content{
    max-width: 100%;
    padding: 2.25rem 0 0.5rem;
  }
}




/* --- Layout fix: remove space under footer on short pages --- */
html, body{
  height: 100%;
  background: var(--bg2);
}
body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Let content take natural height; push footer to the bottom */
main{ flex: 0 0 auto !important; }
.footer{ margin-top: auto !important; }

/* Compact footer height */
.footer{ padding: 16px 0 !important; }

/* --- Remove bands before footer on all pages --- */
main > section:last-of-type{ margin-bottom: 0 !important; padding-bottom: 0 !important; }
main{ padding-bottom: 0 !important; }


/* --- Increase hero height on main page --- */
.hero{
  min-height: 78vh;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (max-width: 720px){
  .hero{
    min-height: 86vh;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}






/* Ensure no top line directly after hero */
.hero + .section,
.hero + section{
  border-top: none !important;
  box-shadow: none !important;
}


/* --- Smooth transition from hero to next section (short & soft, no blur) --- */
.hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;            /* shorter fade */
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(250,244,235,0) 0%,
    rgba(250,244,235,.35) 55%,
    rgba(250,244,235,1) 100%
  );
}


/* --- Same smooth bottom fade for pages without a .hero --- */
/* --- Robust fade for wrapped layouts (Näme üçin / Taslamalar) --- */
main > div:first-child,
main > .container:first-child{
  position: relative;
  overflow: hidden;
}

main > div:first-child::after,
/* Responsive */
@media (max-width: 980px){
  .about__layout{
    grid-template-columns: 1fr;
  }
  .about__photo img{
    min-height: 360px;
  }
  .about__text{
    padding: 1.75rem 1.5rem 1.5rem;
  }
}



/* Bottom photo band like catalog */
.about__photoBand{
  position: relative;
  height: 360px;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,.05);
}

.about__photoBand img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 70%;
  display: block;
}

.about__photoFade{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(250,244,235,1) 0%,
    rgba(250,244,235,.70) 32%,
    rgba(250,244,235,0) 78%
  );
}

/* Mobile */
@media (max-width: 720px){
  .about--pdf{ padding-top: 3.5rem; }
  .about__panel{ padding-bottom: 2.25rem; }
  .about__photoBand{ height: 260px; }
}


/* --- About page (original-like) --- */
.about__grid{
  align-items: start;
  gap: 2.25rem;
}

.about__copy{
  max-width: 720px;
}

.about__copy h2{
  text-align: center;
  margin: 0 0 1.4rem;
}

.about__copy p{
  margin: 0 0 1rem;
  line-height: 1.8;
}

.about__copy h3{
  margin: 1.25rem 0 .7rem;
  font-size: 1.05rem;
}

.about__copy ul{
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .45rem;
}

.about__card{
  padding: 0;
  overflow: hidden;
}

.about__media{
  height: 340px;
  overflow: hidden;
  background: rgba(0,0,0,.04);
}

.about__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 75%;
  display: block;
}

.about__caption{
  padding: 1.1rem 1.2rem 1.25rem;
}

.about__caption h3{
  margin: 0 0 .75rem;
  font-size: 1.05rem;
}

.about__stats{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .6rem;
}

.about__stats li{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: baseline;
}

.about__stats strong{
  font-size: 1.15rem;
}

.about__stats span{
  opacity: .9;
}

@media (max-width: 720px){
  .about__media{ height: 260px; }
}


/* --- About: bottom spacing + list readability --- */
#about{
  padding-bottom: 4.5rem; /* give breathing room above footer */
}

.about__copy{
  padding-bottom: 1rem;
}

.about__copy ul li{
  opacity: 1 !important; /* prevent faded last item */
  color: inherit;
}

@media (max-width: 720px){
  #about{ padding-bottom: 3.5rem; }
}

/* Safety: footer should not overlap content */
.footer{ position: relative; }

/* --- Mission page styles --- */
.mission__grid{
  align-items: start;
  gap: 2.25rem;
}

.mission__copy{
  max-width: 720px;
}

.mission__copy h2{
  text-align: center;
  margin: 0 0 1.4rem;
}

.mission__copy h3{
  margin: 1.15rem 0 .6rem;
  font-size: 1.05rem;
}

.mission__copy p{
  margin: 0 0 1rem;
  line-height: 1.8;
}

.mission__list{
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .45rem;
}

.mission__card{
  padding: 0;
  overflow: hidden;
}

.mission__media{
  height: 360px;
  background: rgba(0,0,0,.03);
}

.mission__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mission__caption{
  padding: .95rem 1.1rem 1.05rem;
  opacity: .85;
}

@media (max-width: 720px){
  .mission__media{ height: 260px; }
}


/* --- Yoda Catering page --- */
.yc-hero{
  position: relative;
  overflow: hidden;
}

.yc-hero__wrap{
  display: grid;
  grid-template-columns: minmax(320px, 640px) 1fr;
  gap: 2rem;
  align-items: stretch;
}

.yc-hero__copy{
  padding: 4rem 0;
  max-width: 640px;
}

.yc-hero__copy h1{
  margin: 0 0 .75rem;
  font-size: 3rem;
}

.yc-hero__copy .lead{
  margin: 0 0 1.5rem;
  opacity: .95;
}

.yc-hero__media{
  position: relative;
  min-height: 520px;
  border-radius: 18px;
  overflow: hidden;
}

.yc-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 70%;
  display: block;
}

.yc-hero__fade{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(250,244,235,1) 0%,
    rgba(250,244,235,.78) 18%,
    rgba(250,244,235,.30) 40%,
    rgba(250,244,235,0) 60%
  );
}

.yc-stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.25rem;
}

.yc-stat{
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: .95rem 1rem;
}

.yc-stat__num{
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
}

.yc-stat__text{
  margin-top: .25rem;
  opacity: .9;
  font-size: .95rem;
}

.yc-bullets{
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .4rem;
}

.yc-about__card{
  padding: 2rem 2rem 1.75rem;
  max-width: 920px;
  margin: 0 auto;
}

.yc-grid{
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.25rem;
}

.yc-item{
  padding: 1.35rem 1.4rem 1.25rem;
}

.yc-item__title{
  font-weight: 700;
  margin-bottom: .35rem;
}

.yc-item__desc{
  opacity: .92;
}

.yc-item__meta{
  margin-top: .75rem;
  opacity: .95;
}

@media (max-width: 980px){
  .yc-hero__wrap{ grid-template-columns: 1fr; }
  .yc-hero__copy{ padding: 3rem 0 1.5rem; }
  .yc-hero__media{ min-height: 360px; }
  .yc-stats{ grid-template-columns: 1fr; }
  .yc-grid{ grid-template-columns: 1fr; }
}





/* --- Contacts: centered "Maglumatlar" only --- */
#contact-form .contact__single{
  max-width: 720px;
  margin: 0 auto;
  display: block;
}
#contact-form .contact__single > .card{
  margin: 0 auto;
}




/* --- Contacts: no hero, centered info card higher --- */
.contact--compact{
  padding-top: 1.5rem !important;
  padding-bottom: 3.75rem;
}
@media (max-width: 720px){
  .contact--compact{
    padding-top: 1.1rem !important;
    padding-bottom: 3.25rem;
  }
}

/* --- Disable any blur effects site-wide (clean sharp UI) --- */
*{
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* --- Make hero images crisp (no wash / no smudge) --- */
.hero__bg{
  filter: none !important;
  opacity: 1 !important;
}

img{
  filter: none !important;
}

/* --- Ensure content never gets faded by transition overlays --- */
main > section, main > .container{ position: relative; z-index: 0; }
main > section > *, main > .container > *{ position: relative; z-index: 1; }

/* --- Contacts: redesigned Maglumatlar card (v47) --- */
#contact-form .container.contact__single{
  max-width: 920px;
  margin: 0 auto;
}

.contact-card{
  padding: 2.4rem 2.4rem 2.1rem;
  max-width: 860px;
  margin: 0 auto;
}

.contact-card__title{
  margin: 0;
  text-align: center;
  font-size: 3rem;
}

.contact-card__sub{
  margin: .6rem 0 0;
  text-align: center;
  opacity: .86;
}

.contact-card__list{
  margin-top: 1.85rem;
  border-top: 1px solid rgba(0,0,0,.07);
}

.contact-row{
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
  align-items: center;
}

.contact-row__label{
  font-weight: 700;
}

.contact-row__value{
  text-decoration: none;
}

a.contact-row__value:hover{
  text-decoration: underline;
}

.contact-card__actions{
  margin-top: 1.7rem;
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 720px){
  .contact-card{ padding: 1.8rem 1.25rem 1.55rem; }
  .contact-card__title{ font-size: 2.3rem; }
  .contact-row{ grid-template-columns: 1fr; gap: .35rem; }
}


/* Language switch */
.lang-switch{ display:flex; align-items:center; gap:10px; margin-left:16px; font-weight:600; }
.lang-switch__sep{ opacity:.6; }
.lang-switch__link{ text-decoration:none; color:inherit; opacity:.75; }
.lang-switch__link:hover{ opacity:1; }
.lang-switch__link.is-active{ opacity:1; text-decoration:underline; text-underline-offset:4px; }
@media (max-width: 900px){ .lang-switch{ margin-left:0; } }
/* =====================================
   EXTRA MOBILE POLISH (max adaptive)
   ===================================== */
@media (max-width: 420px){
  .container{
    width: calc(100% - 26px);
  }

  .hero{
    min-height: auto;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .hero__cta .btn{
    width: 100%;
  }

  .section{
    padding: 56px 0;
  }

  h1{
    font-size: 30px;
    line-height: 1.1;
  }
  h2{
    font-size: 22px;
    margin-bottom: 18px;
  }

  .card{
    padding: 16px;
  }

  /* keep dropdown menu comfortable */
  .nav{
    left: 14px;
    right: 14px;
  }
  .nav a{
    font-size: 15px;
  }

  /* Disable hover "jumps" on touch screens */
  .photo:hover,
  .partner-card:hover{
    transform: none;
  }
}
/* =====================================
   FIX: mobile layout (hero + padding)
   Applied last to win specificity
   ===================================== */
@media (max-width: 980px){
  html, body{ overflow-x:hidden; }

  /* keep content away from edges on all pages */
  .container{
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* force hero split to stack on mobile (in case old cached rules win) */
  .hero--split .hero__inner{ padding-right: 0 !important; }
  .hero--split .hero__media{
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 280px !important;
    margin-top: 18px !important;
    border-radius: var(--radius2) !important;
  }
}
@media (max-width: 420px){
  .hero--split .hero__media{ height: 240px !important; }
}


/* ==========================================================
   FIX: Hero bullets layout (number + text in 2 columns)
   This prevents "one word per line" and matches the boxed look
   ========================================================== */
.hero__bullets{
  max-width: 440px;
}

.hero__bullets li{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
}

.hero__bullets li strong{
  white-space: nowrap;
  font-weight: 800;
}

.hero__bullets li span{
  display: block;
  min-width: 0;
}

/* Mobile: use full width */
@media (max-width: 720px){
  .hero__bullets{ max-width: 100%; }
}
/* FIX: уменьшить расстояние между текстом и фото */
@media (max-width: 980px){

  /* уменьшаем gap если текст и фото стоят в grid */
  .grid{
    gap: 10px !important;
  }

  /* если фото идет отдельным блоком после текста */
  img{
    margin-top: 6px !important;
  }

  /* если картинка обёрнута в figure/div */
  figure,
  .media,
  .image,
  .photo,
  .banner,
  .about__image,
  .bakery__image,
  .kitchen__image{
    margin-top: 6px !important;
  }
}
/* =========================================================
   MOBILE IDEAL PATCH (appended)
   Goal: eliminate horizontal scroll, fix spacing, improve hero,
   normalize tap targets, and remove risky global img margins.
   ========================================================= */

/* --- 0) Safe areas + no horizontal scroll --- */
@supports (padding: max(0px)) {
  .topbar { padding-top: env(safe-area-inset-top); }
  .footer { padding-bottom: max(16px, calc(env(safe-area-inset-bottom) + 16px)) !important; }
}
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { body { overflow-x: clip; } }

/* --- 1) Container: keep nice gutters on mobile --- */
@media (max-width: 980px){
  .container{
    width: min(var(--container), 100%) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
@media (max-width: 420px){
  .container{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* --- 2) Tap targets: nav links + burger + language switch --- */
.burger{ min-width:44px; min-height:44px; }
.nav a,
.footer__action,
.lang-switch__link{
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* --- 3) Mobile menu: avoid overlapping notch / ensure full width --- */
@media (max-width: 980px){
  .nav{
    top: calc(68px + env(safe-area-inset-top));
    left: 16px;
    right: 16px;
  }
}

/* --- 4) Hero: reduce excessive height and tighten layout on phones --- */
@media (max-width: 720px){
  .hero{
    min-height: auto !important;
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }
  .hero__content{
    padding: 2rem 0 .75rem !important;
  }
  h1{ letter-spacing: -0.02em; }
}

/* --- 5) Hero photo: make it stable + avoid accidental overflow --- */
@media (max-width: 720px){
  .hero__media{
    width: 100% !important;
    height: 300px !important;
    border-radius: 16px !important;
    overflow: hidden;
  }
  .hero__media img{
    transform: none !important; /* avoid zoom causing scroll/crop surprises on mobile */
    transform-origin: center !important;
    object-position: 50% 70% !important;
  }
}

/* --- 6) Cards/grids: guarantee 1 column on small screens --- */
@media (max-width: 980px){
  .cards, .cards--projects, .photo-grid, .partners-grid{
    grid-template-columns: 1fr !important;
  }
}

/* --- 7) Remove risky global mobile spacing rules (the ones that add margin to ALL images) --- */
/* Your CSS adds "img{ margin-top: 6px !important; }" on mobile. That breaks layout.
   We override it safely here. */
@media (max-width: 980px){
  img{ margin-top: 0 !important; }
  figure, .media, .photo, .banner{ margin-top: 0 !important; }
}

/* --- 8) Better paragraph width + readability in hero --- */
@media (max-width: 720px){
  .lead{ font-size: 15px; max-width: 62ch; }
  .hero__bullets{ padding-left: 16px; }
  .hero__bullets li{ gap: 8px; }
}

/* --- 9) Buttons: full width only where it helps --- */
@media (max-width: 420px){
  .hero__cta{ gap: 10px; }
  .hero__cta .btn{ width: 100%; }
}

/* --- 10) Prevent hover transforms on touch devices --- */
@media (hover: none){
  .photo:hover,
  .partner-card:hover,
  .footer__action:hover{
    transform: none;
  }
}
html, body {
  overflow-x: hidden;
  }
  
  
  /* 2. Гарантируем, что grid--2 складывается */
  @media (max-width: 980px) {
  .grid--2 {
  grid-template-columns: 1fr !important;
  }
  }
  
  
  /* 3. Стабилизируем hero на мобильных */
  @media (max-width: 720px) {
  .hero,
  .hero--split {
  min-height: auto !important;
  }
  
  
  .hero__media,
  .hero--split .hero__media {
  position: relative !important;
  width: 100% !important;
  height: 260px !important;
  margin-top: 14px !important;
  border-radius: 16px;
  overflow: hidden;
  }
  
  
  .hero__media img {
  transform: none !important;
  object-position: 50% 70% !important;
  }
  }
  
  
  /* 4. Контейнеры — безопасные отступы */
  @media (max-width: 720px) {
  .container {
  padding-left: 16px !important;
  padding-right: 16px !important;
  }
  }
  
  
  /* 5. Контакты — чтобы не ломались строки */
  @media (max-width: 720px) {
  .contact-row {
  grid-template-columns: 1fr !important;
  }
  }
  
  
  /* 6. Убираем опасные global margin для img (если остались) */
  @media (max-width: 980px) {
  img {
  margin-top: 0 !important;
  }
  }
  @media (max-width: 720px){


    /* 1. Общие секции — меньше воздуха */
    .section{
    padding-top: 36px !important;
    padding-bottom: 36px !important;
    }
    
    
    /* 2. Hero — компактнее */
    .hero{
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
    }
    
    
    .hero__content{
    padding: 0 !important;
    }
    
    
    .hero__media{
    height: 220px !important;
    margin-top: 10px !important;
    }
    
    
    /* 3. Заголовки ближе к тексту */
    h1{
    margin-bottom: 10px !important;
    }
    h2{
    margin-bottom: 14px !important;
    }
    
    
    /* 4. Текстовые блоки — плотнее */
    p{
    margin-bottom: 8px !important;
    }
    
    
    /* 5. Картинки ближе к тексту */
    img{
    margin-top: 8px !important;
    }
    
    
    /* 6. Карточки */
    .card{
    padding: 14px !important;
    }
    
    
    /* 7. Grid — меньше gap */
    .grid{
    gap: 14px !important;
    }
    
    
    /* 8. Спецстраницы (Kitchen, About, Catering) */
    .yc-hero__copy,
    .about__copy,
    .mission__copy{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    }
    }
  /* Общая сетка логотипов */
.partners-grid,
.projects-grid,
.logos-grid{
display: grid;
grid-template-columns: repeat(2, minmax(0,1fr));
gap: 14px;
}


/* Карточка логотипа */
.partner-card,
.project-card,
.logo-card{
display: flex;
align-items: center;
justify-content: center;
background: #fff;
border-radius: 16px;
padding: 14px;
min-height: 96px; /* ВАЖНО: одинаковая высота */
border: 1px solid rgba(0,0,0,.06);
}


/* Сам логотип */
.partner-card img,
.project-card img,
.logo-card img{
max-width: 72%; /* визуально одинаковый масштаб */
max-height: 44px; /* ключевой параметр */
width: auto;
height: auto;
object-fit: contain;
filter: none;
}


/* Чуть компактнее на маленьких экранах */
@media (max-width: 420px){
.partner-card,
.project-card,
.logo-card{
min-height: 84px;
padding: 12px;
}


.partner-card img,
.project-card img,
.logo-card img{
max-height: 40px;
}
}


/* Responsive hardening (extra safety for small screens) */
html{ -webkit-text-size-adjust: 100%; }
body{ overflow-x:hidden; }
.lang-switch{ white-space:nowrap; }
@media (max-width: 520px){
  .topbar__inner{ flex-wrap:wrap; }
  .lang-switch{ margin-left:auto; }
}
