/* ============================================
   LA FARINE — Design System
   Palette: Terracotta Studio
   Fonts: Cormorant Garamond + Outfit
============================================ */

:root {
  --terracotta:    #B5563E;
  --terracotta-lt: #D4896A;
  --cream:         #F2E6D9;
  --cream-dk:      #E8D5C0;
  --brown-dk:      #3D2B1F;
  --brown-md:      #6B4C3B;
  --white:         #FDFAF7;
  --text:          #2C1A10;
  --text-muted:    #7A5C4E;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  28px;
  --radius-xl:  48px;

  --shadow-sm:  0 2px 12px rgba(61,43,31,0.08);
  --shadow-md:  0 8px 32px rgba(61,43,31,0.12);
  --shadow-lg:  0 20px 60px rgba(61,43,31,0.18);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 80px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── TYPOGRAPHY ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--brown-dk);
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  color: var(--terracotta);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(181,86,62,0.35);
}
.btn--primary:hover {
  background: var(--brown-dk);
  box-shadow: 0 6px 28px rgba(61,43,31,0.35);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn--nav {
  background: var(--terracotta);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
  border-radius: var(--radius-xl);
}
.btn--nav:hover { background: var(--brown-dk); }
.btn--small {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  background: var(--cream);
  color: var(--terracotta);
  border-radius: var(--radius-xl);
  font-weight: 600;
}
.btn--small:hover {
  background: var(--terracotta);
  color: var(--white);
}
.btn--full { width: 100%; justify-content: center; }

/* ── REVEAL ANIMATIONS ── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.revealed {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(253,250,247,0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.nav.scrolled .nav__logo { color: var(--brown-dk); }
.nav__links {
  display: flex;
  gap: 2.5rem;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--terracotta);
  transition: width var(--transition);
}
.nav__links a:hover::after { width: 100%; }
.nav.scrolled .nav__links a { color: var(--brown-md); }
.nav.scrolled .nav__links a:hover { color: var(--terracotta); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav__burger span { background: var(--brown-dk); }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--brown-dk);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  font-weight: 300;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--terracotta-lt); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61,43,31,0.72) 0%,
    rgba(61,43,31,0.35) 60%,
    rgba(181,86,62,0.15) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 8%;
  max-width: 760px;
  animation: heroFadeUp 1.2s 0.3s both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-lt);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(212,137,106,0.4);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-xl);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  color: var(--terracotta-lt);
}
.hero__sub {
  font-size: 1.05rem;
  color: rgba(242,230,217,0.85);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 5%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ── MARQUEE ── */
.marquee-strip {
  background: var(--terracotta);
  overflow: hidden;
  padding: 0.9rem 0;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}
.marquee-track .dot {
  color: rgba(242,230,217,0.5);
  font-size: 0.6rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 8rem 8%;
  background: var(--white);
}
.about__image-col {
  position: relative;
}
.about__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 520px;
}
.about__img { border-radius: var(--radius-lg); }
.about__img-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 60%; height: 60%;
  border: 3px solid var(--terracotta-lt);
  border-radius: var(--radius-lg);
  z-index: -1;
  transition: transform 0.5s ease;
}
.about__img-wrap:hover .about__img-accent {
  transform: translate(8px, 8px);
}
.about__img-small-wrap {
  position: absolute;
  bottom: -40px; right: -30px;
  width: 200px; height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about__text-col { padding-left: 2rem; }
.about__body {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}
.about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-dk);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1;
}
.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
  display: block;
}

/* ── MENU ── */
.menu {
  background: var(--cream);
  padding: 8rem 8%;
}
.menu__header {
  text-align: center;
  margin-bottom: 3rem;
}
.menu__tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
  background: var(--cream-dk);
  border-radius: var(--radius-xl);
  padding: 0.4rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.tab {
  padding: 0.65rem 1.8rem;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.tab.active {
  background: var(--white);
  color: var(--terracotta);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.tab:hover:not(.active) { color: var(--terracotta); }

.menu__grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}
.menu__grid.active { display: grid; }

.menu-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.menu-card__img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.menu-card__img-wrap img {
  transition: transform 0.6s ease;
}
.menu-card:hover .menu-card__img-wrap img {
  transform: scale(1.06);
}
.menu-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-xl);
}
.menu-card__body {
  padding: 1.4rem;
}
.menu-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brown-dk);
  margin-bottom: 0.5rem;
}
.menu-card__body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.menu-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--terracotta);
}

/* ── SPECIALTIES ── */
.specialties {
  background: var(--brown-dk);
  padding: 8rem 8%;
}
.specialties__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.specialties__text .section-tag { color: var(--terracotta-lt); }
.specialties__text .section-title { color: var(--cream); }
.specialties__text p {
  color: rgba(242,230,217,0.75);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.specialties__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.specialties__list li {
  color: var(--cream-dk);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.specialties__images {
  position: relative;
  height: 520px;
}
.spec-img {
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.spec-img--main {
  width: 85%;
  height: 100%;
  margin-left: auto;
}
.spec-img--small {
  position: absolute;
  bottom: -30px; left: 0;
  width: 200px; height: 200px;
  border: 5px solid var(--brown-dk);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* ── PROCESS ── */
.process {
  background: var(--white);
  padding: 8rem 8%;
}
.process__header {
  text-align: center;
  margin-bottom: 5rem;
}
.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}
.process-step__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--cream-dk);
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brown-dk);
  margin-bottom: 0.75rem;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.process-step__line {
  flex-shrink: 0;
  width: 60px;
  height: 1px;
  background: var(--cream-dk);
  margin-top: 2.5rem;
  position: relative;
}
.process-step__line::after {
  content: '';
  position: absolute;
  right: -4px; top: -3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terracotta-lt);
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--cream);
  padding: 8rem 8%;
}
.testimonials__header {
  text-align: center;
  margin-bottom: 4rem;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testi-card__stars {
  color: var(--terracotta);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}
.testi-card p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brown-md);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}
.testi-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testi-card__author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testi-card__author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brown-dk);
}
.testi-card__author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── CONTACT ── */
.contact {
  background: var(--white);
  padding: 8rem 8%;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}
.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.contact-item__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.contact-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brown-dk);
  margin-bottom: 0.3rem;
  letter-spacing: 0.04em;
}
.contact-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FORM */
.contact__form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.contact__form h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--brown-dk);
  margin-bottom: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown-md);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--cream-dk);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(181,86,62,0.12);
}
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ── FOOTER ── */
.footer {
  background: var(--brown-dk);
  color: var(--cream);
  padding: 5rem 8% 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(242,230,217,0.12);
  margin-bottom: 2rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
  color: var(--cream);
}
.footer__brand p {
  font-size: 0.9rem;
  color: rgba(242,230,217,0.6);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}
.footer__social {
  display: flex;
  gap: 1rem;
}
.footer__social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(242,230,217,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer__social a:hover {
  border-color: var(--terracotta-lt);
  background: rgba(212,137,106,0.15);
}
.footer__social svg {
  width: 16px; height: 16px;
  color: rgba(242,230,217,0.7);
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta-lt);
  margin-bottom: 1.2rem;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer__col li, .footer__col a {
  font-size: 0.875rem;
  color: rgba(242,230,217,0.55);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(242,230,217,0.35);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .about { gap: 3rem; }
}

@media (max-width: 900px) {
  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: flex; }

  .about {
    grid-template-columns: 1fr;
    padding: 5rem 6%;
  }
  .about__text-col { padding-left: 0; }
  .about__img-small-wrap { display: none; }

  .specialties__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .specialties__images { height: 360px; }
  .spec-img--small { display: none; }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .process__steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .process-step__line {
    width: 1px;
    height: 40px;
    margin: 0;
  }
  .process-step__line::after {
    bottom: -4px; right: -3px; top: auto;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero__content { padding: 0 6%; }
  .hero__actions { flex-direction: column; }
  .menu { padding: 5rem 5%; }
  .menu__grid { grid-template-columns: 1fr; }
  .menu__tabs { width: 100%; }
  .tab { flex: 1; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .about__stats { flex-direction: column; gap: 1.5rem; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .contact__form { padding: 2rem 1.5rem; }
}