/* =====================================================
   TROPICAL MOLDURAS DE ESTILO — style.css
   ===================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  --green-deep:   #1E3A2F;
  --green-mid:    #2D5241;
  --green-light:  #3E6B55;
  --gold:         #C9A84C;
  --gold-light:   #E2C97E;
  --ivory:        #F7F3EC;
  --ivory-dark:   #EDE8DF;
  --terracotta:   #D4876A;
  --charcoal:     #2C2C2C;
  --text-body:    #3A3A3A;
  --text-muted:   #7A7570;
  --white:        #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;

  --shadow-sm:    0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.18);

  --transition:   0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography Scale ── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

em { font-style: italic; color: var(--gold); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--gold);
  color: var(--green-deep);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn--dark {
  background: var(--green-deep);
  color: var(--ivory);
  border-color: var(--green-deep);
}
.btn--dark:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(30, 58, 47, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-lg); }

.navbar__logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.navbar__nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.navbar__nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.8);
  transition: color var(--transition);
  position: relative;
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.navbar__nav a:hover,
.navbar__nav a.active {
  color: var(--gold);
}
.navbar__nav a:hover::after,
.navbar__nav a.active::after { width: 100%; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navbar__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ivory);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Botanical Divider ── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 48px;
  max-width: 360px;
}
.divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.divider__ornament {
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}

/* ── Section Scaffolding ── */
.section {
  padding: 96px 5%;
}
.section--alt {
  background: var(--green-deep);
  color: var(--ivory);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section__title {
  margin-bottom: 16px;
  color: var(--green-deep);
}
.section--alt .section__title { color: var(--ivory); }
.section__sub {
  color: var(--text-muted);
  font-size: 1rem;
}
.section--alt .section__sub { color: rgba(247,243,236,0.65); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(30,58,47,0.72) 0%,
    rgba(30,58,47,0.55) 50%,
    rgba(44,44,44,0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 0 24px;
  animation: fadeUp 0.9s ease both;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero__title {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Product Grid ── */
.fotos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.foto-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
.foto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* The image wrapper */
.foto-card__img {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: var(--ivory-dark);
}
.foto-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.foto-card:hover .foto-card__img img { transform: scale(1.04); }

.foto-card__body {
  padding: 24px;
}
.foto-card__category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.foto-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.foto-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Sobre Section ── */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.sobre-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.sobre-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Gold accent frame on the image */
.sobre-img-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid var(--gold);
  border-radius: calc(var(--radius-lg) + 12px);
  z-index: -1;
  opacity: 0.5;
}

.sobre-content .section__eyebrow { text-align: left; }
.sobre-content h2 { color: var(--green-deep); margin-bottom: 20px; }
.sobre-content p { color: var(--text-body); margin-bottom: 16px; font-size: 0.98rem; }

.sobre-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--ivory-dark);
}
.stat-item { text-align: center; }
.stat-item__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
}
.stat-item__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  color: var(--ivory);
  text-align: center;
  padding: 96px 5%;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(201,168,76,0.06);
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 16px;
  color: var(--white);
}
.cta-banner__sub {
  color: rgba(247,243,236,0.75);
  margin-bottom: 36px;
  font-size: 1rem;
}

/* ── Mapa ── */
.mapa-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ivory-dark);
  background: var(--ivory-dark);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.mapa-wrapper iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

/* ── Footer ── */
.footer {
  background: var(--charcoal);
  color: rgba(247,243,236,0.7);
  padding: 64px 5% 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}
.footer__brand img {
  height: 44px;
  margin-bottom: 16px;
  opacity: 0.9;
}
.footer__brand p { font-size: 0.9rem; line-height: 1.6; }

.footer__col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  font-size: 0.9rem;
  color: rgba(247,243,236,0.65);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }

.footer__bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(247,243,236,0.4);
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}
.whatsapp-float svg {
  width: 30px; height: 30px;
  fill: var(--white);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .fotos-grid { grid-template-columns: 1fr 1fr; }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-img-wrap { aspect-ratio: 16/9; max-height: 380px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .navbar__toggle { display: flex; }
  .navbar__nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--green-deep);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 1px solid rgba(201,168,76,0.2);
  }
  .navbar__nav.open { max-height: 400px; }
  .navbar__nav li { width: 100%; }
  .navbar__nav a {
    display: block;
    padding: 16px 5%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .navbar__nav a::after { display: none; }

  .fotos-grid { grid-template-columns: 1fr; }
  .sobre-stat-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }

  .section { padding: 64px 5%; }
  .cta-banner { padding: 72px 5%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}