/* ==========================================================================
   Aramus — homepage styles
   ========================================================================== */

:root {
  --ocean-900: #06283d;
  --ocean-700: #0b4f6c;
  --ocean-500: #1b7fa3;
  --ocean-100: #e3f2f7;
  --sand-50: #fffaf2;
  --sand-100: #fbf1e1;
  --sunset-500: #f2784b;
  --sunset-600: #e0602f;
  --sunset-100: #fde6db;
  --palm-500: #2a9d8f;
  --ink: #16242e;
  --ink-soft: #4a5a66;
  --line: #dfe7ec;
  --white: #ffffff;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(6, 40, 61, 0.25);
  --shadow-lg: 0 24px 50px -20px rgba(6, 40, 61, 0.35);
  --container: 1160px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand-50);
  overflow-x: hidden;
}

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

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--ocean-500); }

:focus-visible {
  outline: 3px solid var(--sunset-500);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ocean-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 1.4em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--sunset-500);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(224, 96, 47, 0.7);
}
.btn-primary:hover { background: var(--sunset-600); }

.btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ocean-900);
}
.btn-light:hover { background: var(--white); }

.btn-outline {
  background: transparent;
  border-color: var(--ocean-700);
  color: var(--ocean-700);
}
.btn-outline:hover { background: var(--ocean-700); color: var(--white); }

.btn-large { padding: 1em 1.8em; font-size: 1.05rem; }
.btn-small { padding: 0.55em 1.1em; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(11, 79, 108, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ocean-900);
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:not(.btn):hover { color: var(--ocean-500); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--ocean-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  content: "";
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { top: -7px; left: 0; }
.nav-toggle-bar::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sand-50);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
  }
  .site-nav a:not(.btn) {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav li:last-child { margin-top: 16px; }
  .site-nav .btn { width: 100%; padding: 0.9em; }
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 40, 61, 0.85) 0%, rgba(6, 40, 61, 0.55) 45%, rgba(6, 40, 61, 0.05) 80%),
    linear-gradient(0deg, rgba(6, 40, 61, 0.6) 0%, rgba(6, 40, 61, 0) 45%);
}

.hero-content {
  padding-top: 96px;
  padding-bottom: 72px;
}
.hero-content > * { max-width: 640px; }

.hero h1 {
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.9rem);
  text-shadow: 0 2px 20px rgba(6, 40, 61, 0.35);
}

.hero-lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero-points li::before {
  content: "✓";
  margin-right: 8px;
  color: #ffd29d;
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd29d;
}
.eyebrow-dark { color: var(--sunset-600); }

@media (max-width: 600px) {
  .hero { min-height: auto; }
  .hero::after {
    background: linear-gradient(0deg, rgba(6, 40, 61, 0.92) 0%, rgba(6, 40, 61, 0.7) 55%, rgba(6, 40, 61, 0.35) 100%);
  }
  .hero-content { padding-top: 140px; padding-bottom: 48px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Sections --------------------------------------------------------------- */

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-tint { background: var(--sand-100); }

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p:last-child { color: var(--ink-soft); font-size: 1.05rem; }

.card-grid {
  display: grid;
  gap: 24px;
}

/* Services */

.services-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(6, 1fr); }
  .services-grid > * { grid-column: span 2; }
  .services-grid > :nth-child(4) { grid-column: 2 / span 2; }
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.service-card p { color: var(--ink-soft); flex: 1; }

.service-card-feature {
  background: linear-gradient(150deg, var(--ocean-700), var(--ocean-900));
  border-color: transparent;
  color: var(--white);
}
.service-card-feature p { color: rgba(255, 255, 255, 0.85); }
.service-card-feature .card-link { color: #ffd29d; }
.service-card-feature .service-icon { background: rgba(255, 255, 255, 0.14); color: var(--white); }

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--ocean-100);
  color: var(--ocean-700);
}
.service-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.card-link {
  font-weight: 600;
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* Packages */

.packages-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.package-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.package-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.package-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ocean-900);
  font-size: 0.8rem;
  font-weight: 700;
}

.package-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 28px;
}
.package-body > p:first-of-type { color: var(--ink-soft); }

.package-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1;
}
.package-list li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 0.95rem;
  border-top: 1px dashed var(--line);
}
.package-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--palm-500);
  border-bottom: 2px solid var(--palm-500);
  transform: rotate(-45deg);
}

.package-price {
  font-weight: 600;
  color: var(--ocean-700);
  font-size: 0.95rem;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.step {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.step p { color: var(--ink-soft); margin: 0; }

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--sunset-100);
  color: var(--sunset-600);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

/* Split sections + forms ------------------------------------------------- */

.section-dark {
  background:
    radial-gradient(circle at 85% 10%, rgba(242, 120, 75, 0.25), transparent 45%),
    linear-gradient(160deg, var(--ocean-700), var(--ocean-900));
  color: var(--white);
}
.section-dark .split-copy p { color: rgba(255, 255, 255, 0.85); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.05fr; gap: 64px; }
}

.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.check-list li {
  padding: 8px 0 8px 32px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffd29d;
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-card {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--ocean-100);
}
.contact-card p { margin: 0; color: var(--ink-soft); }

.request-form {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.request-form-light {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-notice {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--sunset-100);
  color: #7a3314;
  font-size: 0.9rem;
  line-height: 1.45;
}

.field {
  margin: 0 0 16px;
  min-width: 0;
}
fieldset.field {
  border: 0;
  padding: 0;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ocean-500);
  box-shadow: 0 0 0 3px rgba(27, 127, 163, 0.2);
}
[aria-invalid="true"] { border-color: #c0392b; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 500 !important;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.chip input {
  width: 16px;
  min-height: 0;
  height: 16px;
  margin: 0;
  accent-color: var(--sunset-500);
}
.chip:has(input:checked) {
  background: var(--sunset-100);
  border-color: var(--sunset-500);
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-status:empty { display: none; }
.form-status.is-success { color: #1e7a52; }
.form-status.is-error { color: #c0392b; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  padding: 56px 0 28px;
  background: var(--ocean-900);
  color: rgba(255, 255, 255, 0.8);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}
.footer-inner p { max-width: 380px; margin-top: 12px; }
.brand-footer { color: var(--white); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  color: var(--white);
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }

.footer-legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-legal p { margin: 0; }
