/* SD Santa Lusia — site */
:root {
  --teal-50: #e8f6f4;
  --teal-100: #c5ebe5;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0f766e;
  --teal-800: #134e4a;
  --teal-900: #0a2f2d;
  --ink: #102826;
  --muted: #4a6662;
  --sand: #f3f0e8;
  --cream: #faf8f4;
  --white: #ffffff;
  --line: rgba(15, 118, 110, 0.14);
  --shadow: 0 18px 50px rgba(10, 47, 45, 0.12);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal-800);
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Nav ———————————————————————— */
.site-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 1.25rem 0;
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-mark small {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links .ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

@media (max-width: 720px) {
  .nav-links a:not(.ghost) {
    display: none;
  }
}

/* —— Hero ———————————————————————— */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 47, 45, 0.45) 0%, rgba(10, 47, 45, 0.28) 38%, rgba(10, 47, 45, 0.78) 100%),
    linear-gradient(90deg, rgba(15, 118, 110, 0.35) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 7.5rem 0 4.2rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 12ch;
  animation: rise 0.9s var(--ease) both;
}

.hero-line {
  max-width: 34rem;
  margin: 0 0 1.6rem;
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  animation: rise 0.9s 0.12s var(--ease) both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.24s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--white);
  color: var(--teal-800);
}

.btn-primary:hover {
  background: var(--teal-50);
  color: var(--teal-900);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* —— Sections ———————————————————————— */
section {
  padding: 5rem 0;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin: 0 0 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--teal-900);
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.section-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* About */
.about {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(45, 212, 191, 0.12), transparent 55%),
    linear-gradient(180deg, var(--cream), var(--sand));
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.about-aside {
  position: relative;
  min-height: 16rem;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-aside img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.about-aside figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(10, 47, 45, 0.85));
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* App */
.app {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.app::before {
  content: "";
  position: absolute;
  width: 50vw;
  height: 50vw;
  right: -12vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.22), transparent 68%);
  pointer-events: none;
}

.app .section-kicker {
  color: var(--teal-400);
}

.app .section-title {
  color: var(--white);
  max-width: 16ch;
}

.app .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.app-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.app-icon-wrap {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
  animation: floatIcon 5s ease-in-out infinite;
}

.app-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.feature-list strong {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.feature-list span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18);
}

@media (max-width: 700px) {
  .app-layout {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.contact {
  background:
    linear-gradient(180deg, var(--sand), var(--cream));
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: 2rem;
  align-items: baseline;
}

.contact-row a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.1rem;
}

.contact-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--teal-600);
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
