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

:root {
  --gold:     #B99438;
  --gold-lt:  #D4AF4A;
  --gold-pale:#F5EDD0;
  --gold-bg:  #FAF7EE;
  --dark:     #1C1A14;
  --dark-mid: #2E2A1E;
  --mid:      #5C5040;
  --light:    #F7F5EF;
  --white:    #FFFFFF;
  --border:   #E2D9C4;
  --radius:   8px;
  --shadow:   0 2px 14px rgba(28,26,20,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p  { color: var(--mid); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section--alt  { background: var(--light); }
.section--dark { background: var(--dark); }
.section--gold { background: var(--gold-bg); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  max-width: 1120px; margin: 0 auto; padding: 0 1.5rem;
}
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav__links a { font-size: 0.9rem; font-weight: 500; color: var(--dark); }
.nav__links a:hover, .nav__links a.active { color: var(--gold); text-decoration: none; }
.nav__cta {
  background: var(--gold) !important; color: var(--white) !important;
  padding: 0.5rem 1.25rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.875rem;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--gold-lt) !important; color: var(--white) !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }

@media (max-width: 768px) {
  .nav__links { display: none; flex-direction: column; position: absolute;
    top: 70px; left: 0; right: 0; background: var(--white);
    padding: 1.5rem; border-bottom: 1px solid var(--border); gap: 1.25rem; }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('../images/mountain-hero.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.35;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28,26,20,0.85) 0%,
    rgba(28,26,20,0.6) 50%,
    rgba(185,148,56,0.15) 100%
  );
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 8rem 1.5rem 5rem;
  width: 100%;
}
.hero__tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 1rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--gold-lt); }
.hero p { color: rgba(255,255,255,0.72); font-size: 1.1rem; margin-bottom: 2rem; }

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

.btn {
  display: inline-block; padding: 0.8rem 1.75rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; transition: all 0.2s; cursor: pointer; border: none;
}
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-lt); text-decoration: none; color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn--outline:hover { border-color: var(--gold-lt); color: var(--gold-lt); text-decoration: none; }
.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: var(--dark-mid); text-decoration: none; color: var(--white); }

.hero__stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; }
.hero__stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--gold-lt); }
.hero__stat span { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

.hero__visual { display: flex; flex-direction: column; gap: 1rem; }
.hero__card {
  background: rgba(255,255,255,0.07); backdrop-filter: blur(10px);
  border: 1px solid rgba(185,148,56,0.25);
  border-radius: 12px; padding: 1.25rem 1.5rem;
}
.hero__card h4 { color: var(--white); margin-bottom: 0.3rem; font-size: 0.95rem; }
.hero__card p { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin: 0; }
.hero__card-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 7rem; }
  .hero__visual { display: none; }
  .hero__stats { gap: 1.5rem; }
}

/* ── Services ─────────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card__icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--gold-pale); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.4rem;
}
.service-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.service-card p { font-size: 0.9rem; }

/* ── TERESA section ───────────────────────────────────────── */
.teresa-section { background: var(--dark); }
.teresa-section h2, .teresa-section h3 { color: var(--white); }
.teresa-section p { color: rgba(255,255,255,0.65); }
.teresa-section .section-label { color: var(--gold-lt); }

.teresa-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.teresa-pillar {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(185,148,56,0.2);
  border-radius: 10px; padding: 1.5rem;
}
.teresa-pillar h4 { color: var(--white); margin-bottom: 0.4rem; font-size: 0.95rem; }
.teresa-pillar p { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin: 0; }
.teresa-pillar__icon { font-size: 1.4rem; margin-bottom: 0.6rem; }

.teresa-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.teresa-stat { text-align: center; }
.teresa-stat strong { display: block; font-size: 2.5rem; font-weight: 800; color: var(--gold-lt); }
.teresa-stat span { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

@media (max-width: 768px) {
  .teresa-pillars { grid-template-columns: 1fr; }
  .teresa-stats { grid-template-columns: 1fr; }
}

/* ── Team ─────────────────────────────────────────────────── */
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: var(--shadow); }
.team-card__photo {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top;
  background: var(--light);
}
.team-card__body { padding: 1.5rem; }
.team-card__body h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.team-card__role { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.team-card__body p { font-size: 0.875rem; }
.team-card__edu { margin-top: 0.75rem; }
.team-card__edu dt { font-size: 0.75rem; font-weight: 600; color: var(--dark); }
.team-card__edu dd { font-size: 0.8rem; color: var(--mid); margin-bottom: 0.3rem; }

/* ── Gold divider ─────────────────────────────────────────── */
.gold-bar { height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-lt), transparent); }

/* ── About strip ──────────────────────────────────────────── */
.about-strip { border-left: 4px solid var(--gold); padding-left: 1.5rem; margin: 1.5rem 0; }
.about-strip p { font-size: 1.05rem; color: var(--mid); }

/* ── Stat tiles ───────────────────────────────────────────── */
.stat-tile {
  background: var(--dark); border-radius: 12px; padding: 1.75rem 1.5rem; text-align: center;
}
.stat-tile strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--gold-lt); }
.stat-tile span { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; display: block; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-detail { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-detail__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-detail p { margin: 0; font-size: 0.9rem; }
.contact-detail a { color: var(--dark); }
.contact-detail a:hover { color: var(--gold); }

.contact-form { background: var(--light); border-radius: 14px; padding: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.7rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 0.9rem; color: var(--dark);
  background: var(--white); transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }

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

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--dark-mid); color: rgba(255,255,255,0.5);
  padding: 3.5rem 0 2rem;
  border-top: 3px solid var(--gold);
}
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
.footer__brand { max-width: 260px; }
.footer__brand img { height: 30px; width: auto; margin-bottom: 0.75rem; }
.footer__brand p { font-size: 0.875rem; }
.footer__links h4 { color: rgba(255,255,255,0.8); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; }
.footer__links ul { list-style: none; }
.footer__links li { margin-bottom: 0.5rem; }
.footer__links a { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.footer__links a:hover { color: var(--gold-lt); text-decoration: none; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: 0.8rem; }

/* ── TERESA product page ──────────────────────────────────── */
.product-hero {
  padding: 9rem 0 5rem;
  background: var(--dark);
  position: relative; overflow: hidden;
}
.product-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../images/mountain-hero.jpg');
  background-size: cover; background-position: center 60%;
  opacity: 0.18;
}
.product-hero__inner { position: relative; z-index: 1; }
.product-hero h1 { color: var(--white); }
.product-hero h1 em { font-style: normal; color: var(--gold-lt); }
.product-hero p { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 680px; }
.product-hero .teresa-stat span { color: rgba(255,255,255,0.5); }

.roadmap { list-style: none; margin-top: 1.5rem; }
.roadmap li { display: flex; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(185,148,56,0.15); font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.roadmap li strong { color: var(--gold-lt); font-size: 0.8rem; min-width: 42px; flex-shrink: 0; }

.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.pricing-card { border: 2px solid var(--border); border-radius: 14px; padding: 2rem; text-align: center; }
.pricing-card--featured { border-color: var(--gold); background: var(--gold-pale); }
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.pricing-card .price { font-size: 2.2rem; font-weight: 800; color: var(--dark); margin: 1rem 0 0.25rem; }
.pricing-card .price-unit { font-size: 0.85rem; color: var(--mid); margin-bottom: 1.25rem; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 1.5rem; }
.pricing-card li { font-size: 0.875rem; color: var(--mid); padding: 0.3rem 0; padding-left: 1.25rem; position: relative; }
.pricing-card li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

@media (max-width: 768px) { .pricing-cards { grid-template-columns: 1fr; } }

/* ── Problem/solution ─────────────────────────────────────── */
.problem-box { background: #fef2f2; border-radius: 14px; padding: 2rem; border-left: 4px solid #dc2626; }
.problem-box h3 { color: #dc2626; margin-bottom: 1.25rem; }
.solution-box { background: var(--gold-pale); border-radius: 14px; padding: 2rem; border-left: 4px solid var(--gold); }
.solution-box h3 { color: var(--gold); margin-bottom: 1.25rem; }
.check-list { list-style: none; }
.check-list li { padding: 0.6rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.9rem; color: var(--mid); }
.check-list li:last-child { border-bottom: none; }

/* ── Language selector ────────────────────────────────────── */
.lang-switcher { display: flex; gap: 2px; align-items: center; margin-left: 0.5rem; }
.lang-btn {
  background: none; border: 1px solid var(--border); border-radius: 4px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--mid); cursor: pointer; padding: 0.2rem 0.45rem;
  transition: all 0.15s; font-family: inherit;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.lang-btn.active { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* dark nav context (login page) */
.lang-switcher--light .lang-btn { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.6); }
.lang-switcher--light .lang-btn:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.lang-switcher--light .lang-btn.active { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ── Feather icons ────────────────────────────────────────── */
[data-feather] { display: block; }

.service-card__icon [data-feather] {
  width: 24px; height: 24px;
  stroke: var(--gold); stroke-width: 2; fill: none;
}
.hero__card-icon [data-feather] {
  width: 22px; height: 22px;
  stroke: var(--gold-lt); stroke-width: 2; fill: none;
}
.teresa-pillar__icon [data-feather] {
  width: 22px; height: 22px;
  stroke: var(--gold-lt); stroke-width: 2; fill: none;
}
.contact-detail__icon [data-feather] {
  width: 18px; height: 18px;
  stroke: var(--gold); stroke-width: 2; fill: none;
}
.check-list [data-feather] {
  width: 16px; height: 16px;
  display: inline-block; vertical-align: middle;
  margin-right: 0.4rem; stroke-width: 2.5; fill: none;
}
.problem-box .check-list [data-feather] { stroke: #dc2626; }
.solution-box .check-list [data-feather] { stroke: var(--gold); }

/* ── Utilities ────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
