/* =========================================================
   Dried Seafood Chile — Static styles
   Brand: deep ocean navy + warm sand + coral accent
   ========================================================= */

:root {
  --background: hsl(36, 30%, 96%);
  --foreground: hsl(200, 45%, 10%);
  --card: hsl(36, 30%, 98%);
  --primary: hsl(200, 55%, 13%);
  --primary-foreground: hsl(36, 35%, 95%);
  --secondary: hsl(30, 25%, 88%);
  --muted: hsl(36, 20%, 92%);
  --muted-foreground: hsl(200, 15%, 38%);
  --accent: hsl(14, 65%, 52%);
  --accent-foreground: hsl(36, 35%, 97%);
  --gold: hsl(38, 55%, 52%);
  --border: hsl(30, 20%, 84%);

  --gradient-overlay: linear-gradient(180deg, hsla(200, 55%, 8%, 0.2) 0%, hsla(200, 60%, 6%, 0.85) 100%);
  --shadow-elegant: 0 30px 60px -20px hsla(200, 55%, 13%, 0.25);

  --max-w: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
hr { border: 0; }

h1, h2, h3, h4, .display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  font-weight: 500;
  margin: 0 0 1rem;
}
.accent { color: var(--accent); }
.accent-color { color: var(--accent); }
.gold { color: var(--gold); font-style: italic; font-weight: 300; }
em.gold { font-style: italic; }
.text-balance { text-wrap: balance; }
.strong { color: var(--primary); font-weight: 400; }

.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-lg { width: 1.5rem; height: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  border: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-accent { background: var(--accent); color: var(--accent-foreground); }
.btn-accent:hover { background: hsl(14, 65%, 47%); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: hsl(200, 55%, 10%); }

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

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  color: var(--primary-foreground);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-foreground);
}
.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.brand-name-sm { font-size: 1rem; }

.main-nav {
  display: none;
  gap: 2.5rem;
  font-size: 0.875rem;
  color: hsla(36, 35%, 95%, 0.85);
}
.main-nav a:hover { color: var(--primary-foreground); }

.lang-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary-foreground);
  border: 1px solid hsla(36, 35%, 95%, 0.4);
  padding: 0.625rem 1.25rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: background-color 0.2s, color 0.2s;
}
.lang-toggle:hover {
  background: var(--primary-foreground);
  color: var(--primary);
}

@media (min-width: 768px) {
  .main-nav { display: inline-flex; }
  .lang-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
}
.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 6rem;
  color: var(--primary-foreground);
}
.hero-title {
  font-size: clamp(2.75rem, 7vw, 6rem);
  margin-bottom: 2rem;
  max-width: 56rem;
}
.hero-desc {
  font-size: 1.125rem;
  font-weight: 300;
  max-width: 36rem;
  color: hsla(36, 35%, 95%, 0.8);
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .hero-desc { font-size: 1.25rem; }
}
.hero-coords {
  position: absolute;
  bottom: 2rem; right: 2rem;
  z-index: 10;
  color: hsla(36, 35%, 95%, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: bottom right;
  display: none;
}
@media (min-width: 1024px) { .hero-coords { display: block; } }

/* Hero fade-up */
.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s ease forwards;
}
.hero-content > *:nth-child(2) { animation-delay: 0.1s; }
.hero-content > *:nth-child(3) { animation-delay: 0.2s; }
.hero-content > *:nth-child(4) { animation-delay: 0.3s; }

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

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: hsla(36, 20%, 92%, 0.4);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.stats-grid .stat {
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.stat-k {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.stat-v {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid .stat + .stat { border-left: 1px solid var(--border); }
  .stat-k { font-size: 3rem; }
}

/* ---------- Section base ---------- */
.section { padding: 7rem 0; }
@media (min-width: 768px) { .section { padding: 10rem 0; } }
.section-muted { background: hsla(36, 20%, 92%, 0.4); border-top: 1px solid var(--border); }
.section-dark { background: var(--primary); color: var(--primary-foreground); position: relative; overflow: hidden; }

.section-header { max-width: 42rem; margin-bottom: 5rem; }
.section-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--primary);
}
.section-dark .section-title { color: var(--primary-foreground); }
.section-divider { height: 1px; background: var(--border); margin: 5rem 0; border: 0; }

/* ---------- Products ---------- */
.product-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .product-row { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .product-row.reverse .product-media { order: 2; }
}
.product-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--secondary);
  box-shadow: var(--shadow-elegant);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.product-desc {
  color: var(--muted-foreground);
  font-weight: 300;
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 0;
}
@media (min-width: 640px) { .specs-grid { grid-template-columns: repeat(3, 1fr); } }
.spec {
  background: var(--background);
  padding: 1.25rem;
}
.spec dt {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.spec dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 300;
}

/* ---------- Company ---------- */
.company-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}
@media (min-width: 1024px) {
  .company-head { grid-template-columns: 5fr 7fr; }
  .company-body { padding-top: 2rem; }
}
.company-desc {
  font-size: 1.125rem;
  font-weight: 300;
  color: hsla(36, 35%, 95%, 0.8);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.section:not(.section-dark) .company-desc { color: var(--muted-foreground); }
.company-quote {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  color: hsla(36, 35%, 95%, 0.9);
  line-height: 1.35;
}
.company-quote::before { content: '"'; }
.company-quote::after { content: '"'; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: hsla(36, 35%, 95%, 0.1);
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  background: var(--primary);
  padding: 2.5rem;
  transition: background-color 0.2s ease;
}
.value-card:hover { background: hsla(36, 35%, 95%, 0.03); }
.value-card .icon-lg { color: var(--gold); margin-bottom: 2rem; width: 2rem; height: 2rem; }
.value-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  margin: 0 0 1rem;
}
.value-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: hsla(36, 35%, 95%, 0.65);
  line-height: 1.7;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
.process-card { background: var(--background); }
.process-media { aspect-ratio: 4 / 3; overflow: hidden; }
.process-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.process-card:hover .process-media img { transform: scale(1.05); }
.process-body { padding: 2.5rem; }
@media (min-width: 768px) { .process-body { padding: 3rem; } }
.process-num-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.process-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: var(--accent);
  font-style: italic;
}
.process-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.875rem;
  color: var(--primary);
  margin: 0;
}
.process-desc {
  color: var(--muted-foreground);
  font-weight: 300;
  line-height: 1.7;
}

/* ---------- Contact ---------- */
.contact-intro {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--muted-foreground);
  line-height: 1.7;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  background: var(--background);
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.contact-card .icon-lg { margin-bottom: 1.5rem; }
.contact-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 0 1rem;
}
.contact-lines {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 300;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-lines a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: hsla(36, 35%, 95%, 0.7);
  padding: 3rem 0;
}
.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}
@media (min-width: 768px) { .footer-row { flex-direction: row; } }
.footer-row .brand-name { color: var(--primary-foreground); }
.footer-copy { font-size: 0.75rem; letter-spacing: 0.05em; }
