/* ═══════════════════════════════════════
   AGUA Y HARINA — Styles
   Charcoal + Coral · Minimalist
   ═══════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --charcoal: #1a1a1a;
  --charcoal-light: #2d2d2d;
  --charcoal-muted: #6b6b6b;
  --coral: #e8635a;
  --coral-light: #f4845c;
  --coral-pale: #fdf0ee;
  --cream: #faf8f6;
  --cream-dark: #f3efe9;
  --white: #ffffff;
  --line: rgba(26, 26, 26, 0.08);
  --line-strong: rgba(26, 26, 26, 0.15);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --sidenav-w: 260px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* ── Typography ── */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.section-title--center {
  text-align: center;
}

.accent-italic {
  font-style: italic;
  color: var(--coral);
}

.body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--charcoal-muted);
}

.body-lg {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--charcoal);
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--line-strong);
  margin: 2rem 0;
}

.divider--short {
  width: 80px;
  background: var(--coral);
  margin: 1.5rem 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.btn--primary:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn--full {
  width: 100%;
}

/* ── Side Navigation ── */
.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidenav-w);
  height: 100vh;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 2rem;
  z-index: 1000;
  transition: transform var(--transition);
}

.sidenav__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sidenav__brand-line {
  width: 32px;
  height: 1px;
  background: var(--coral);
  flex-shrink: 0;
}

.sidenav__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sidenav__brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.sidenav__brand-tag {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--charcoal-muted);
}

.sidenav__links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sidenav__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--charcoal-muted);
  border-left: 1px solid transparent;
  transition: var(--transition);
}

.sidenav__link:hover,
.sidenav__link.active {
  color: var(--white);
  border-left-color: var(--coral);
  padding-left: 0.75rem;
}

.sidenav__link-num {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--coral);
  min-width: 1.5rem;
  opacity: 0.7;
}

.sidenav__footer {
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.sidenav__phone {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--coral);
  transition: var(--transition);
}

.sidenav__phone:hover {
  color: var(--coral-light);
}

/* ── Mobile Menu Toggle ── */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1100;
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ── Main Content ── */
.main-content {
  margin-left: var(--sidenav-w);
  min-height: 100vh;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4rem 5rem;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero__bg-line {
  position: absolute;
  top: 0;
  right: 30%;
  width: 1px;
  height: 100%;
  background: var(--line);
}

.hero__content {
  padding-right: 3rem;
  animation: fadeUp 0.8s ease both;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 2rem;
}

.hero__title-line {
  display: block;
}

.hero__title-accent {
  font-style: italic;
  color: var(--coral);
}

.hero__desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal-muted);
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.hero__cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image-stack {
  position: relative;
  height: 70vh;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero__img {
  overflow: hidden;
  position: absolute;
}

.hero__img--1 {
  width: 65%;
  height: 75%;
  top: 5%;
  right: 0;
}

.hero__img--1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero__img--1:hover img {
  transform: scale(1.03);
}

.hero__img--2 {
  width: 55%;
  height: 40%;
  bottom: 5%;
  right: 30%;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.hero__img--2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__img-badge {
  position: absolute;
  bottom: 38%;
  left: -5%;
  z-index: 3;
  background: var(--charcoal);
  color: var(--white);
  padding: 1rem 1.5rem;
}

.hero__img-badge-text {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.05em;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-muted);
  animation: float 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── About ── */
.about {
  padding: 8rem 5rem;
  background: var(--white);
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about__text {
  max-width: 520px;
}

.about__text .body-lg {
  margin-bottom: 1.2rem;
}

.about__text .body {
  margin-bottom: 1.2rem;
}

.about__image-col {
  position: relative;
  height: 600px;
}

.about__img {
  overflow: hidden;
  position: absolute;
}

.about__img--main {
  width: 75%;
  height: 80%;
  top: 0;
  right: 0;
}

.about__img--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img--small {
  width: 55%;
  height: 45%;
  bottom: 0;
  left: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.about__img--small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Products ── */
.products {
  padding: 8rem 5rem;
  background: var(--cream);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--line);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  border-color: transparent;
}

.product-card__img {
  overflow: hidden;
  height: 260px;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__img img {
  transform: scale(1.05);
}

.product-card__info {
  padding: 1.75rem 2rem;
}

.product-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.product-card__desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--charcoal-muted);
}

.products__note {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--charcoal-muted);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1rem;
}

/* ── Schedule ── */
.schedule {
  padding: 8rem 5rem;
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.schedule__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.schedule__content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.schedule__content .section-title {
  color: var(--white);
}

.schedule__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 3rem 0;
  text-align: left;
}

.schedule__day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
}

.schedule__day-name {
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}

.schedule__day-hours {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--white);
}

.schedule__day--highlight .schedule__day-hours {
  color: var(--coral);
}

.schedule__day--closed .schedule__day-name {
  color: var(--charcoal-muted);
}

.schedule__day--closed .schedule__day-hours {
  color: var(--charcoal-muted);
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule__note {
  font-size: 0.8rem;
  color: var(--charcoal-muted);
  font-style: italic;
  font-family: var(--font-serif);
}

/* ── Contact ── */
.contact {
  padding: 8rem 5rem;
  background: var(--white);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact__item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact__item-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral);
}

.contact__item-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-muted);
  margin-bottom: 0.3rem;
}

.contact__item-value {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--charcoal);
}

.contact__item-value a {
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.contact__item-value a:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.contact__map {
  margin-top: 2rem;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
}

/* ── Form ── */
.contact__form-wrap {
  background: var(--cream);
  padding: 3rem;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.contact__form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal-muted);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--coral);
}

.form-input::placeholder {
  color: var(--charcoal-muted);
  opacity: 0.6;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--coral-pale);
  color: var(--coral);
  font-size: 0.88rem;
  border-radius: 2px;
  border: 1px solid rgba(232, 99, 90, 0.2);
}

.form-success svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Footer ── */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 4rem 5rem 2.5rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  display: block;
  margin-bottom: 0.3rem;
}

.footer__brand-tagline {
  font-size: 0.78rem;
  color: var(--charcoal-muted);
  letter-spacing: 0.05em;
}

.footer__nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--charcoal-muted);
  transition: var(--transition);
  letter-spacing: 0.05em;
}

.footer__nav a:hover {
  color: var(--coral);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--charcoal-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .hero {
    padding: 4rem 3rem;
  }
  .about, .products, .schedule, .contact {
    padding: 6rem 3rem;
  }
  .footer {
    padding: 3rem;
  }
}

@media (max-width: 960px) {
  .sidenav {
    transform: translateX(-100%);
  }
  .sidenav.open {
    transform: translateX(0);
  }
  .menu-toggle {
    display: flex;
  }
  .main-content {
    margin-left: 0;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 8rem 2rem 4rem;
    min-height: auto;
  }
  .hero__content {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  .hero__image-stack {
    height: 400px;
  }
  .hero__scroll-hint {
    left: 2rem;
  }
  .about__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about__image-col {
    height: 400px;
  }
  .products__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 7rem 1.5rem 3rem;
  }
  .hero__title {
    font-size: 3rem;
  }
  .hero__image-stack {
    height: 300px;
  }
  .hero__img--1 {
    width: 75%;
    height: 70%;
  }
  .hero__img--2 {
    width: 60%;
    height: 35%;
    right: 10%;
  }
  .about, .products, .schedule, .contact {
    padding: 5rem 1.5rem;
  }
  .schedule__grid {
    grid-template-columns: 1fr;
  }
  .contact__form-wrap {
    padding: 2rem 1.5rem;
  }
  .footer {
    padding: 3rem 1.5rem 2rem;
  }
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__nav {
    flex-direction: column;
    gap: 1rem;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .sidenav {
    padding: 2rem 1.5rem;
  }
}
