/* ========================================================
   Page-specific styles
   ======================================================== */

/* ========================================================
   HERO (home)
   ======================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(143, 205, 236, 0.25), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(184, 230, 214, 0.3), transparent),
    linear-gradient(180deg, #fafdff 0%, #e9f4fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sky-700);
  margin-bottom: 22px;
}

.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--mint-d);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(111, 191, 161, 0.25);
  animation: pulse 2.4s var(--ease) infinite;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--sky-500);
  font-weight: 400;
  position: relative;
  display: inline-block;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px; left: -4px; right: -4px;
  height: 14px;
  background: var(--mint);
  z-index: -1;
  border-radius: 999px;
  opacity: 0.6;
  transform: rotate(-1deg);
}

.hero-lede {
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 36px;
}

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

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sky-800);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Hero visual — abstract circular composition */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-300), var(--sky-500));
  box-shadow:
    inset -20px -30px 50px rgba(20, 72, 106, 0.25),
    inset 20px 25px 40px rgba(255, 255, 255, 0.5),
    0 30px 60px rgba(31, 122, 174, 0.25);
  animation: orb-float 8s var(--ease) infinite;
}

.orb-main {
  width: 75%;
  height: 75%;
  top: 12%; left: 12%;
}

.orb-small {
  width: 28%;
  height: 28%;
  top: 5%; right: 0;
  background: linear-gradient(135deg, var(--mint), var(--mint-d));
  box-shadow:
    inset -10px -15px 25px rgba(20, 72, 106, 0.2),
    inset 10px 12px 20px rgba(255, 255, 255, 0.6),
    0 18px 36px rgba(111, 191, 161, 0.32);
  animation-delay: -2s;
  animation-duration: 6s;
}

.orb-tiny {
  width: 16%;
  height: 16%;
  bottom: 8%; left: 4%;
  background: linear-gradient(135deg, #fff, var(--sky-200));
  animation-delay: -4s;
  animation-duration: 7s;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

.sparkle {
  position: absolute;
  color: var(--sky-500);
  animation: sparkle 3s ease-in-out infinite;
}

.sparkle.s1 { top: 20%; right: 15%; font-size: 22px; animation-delay: 0s; }
.sparkle.s2 { bottom: 25%; right: 25%; font-size: 16px; animation-delay: 0.7s; }
.sparkle.s3 { top: 55%; left: 5%; font-size: 18px; animation-delay: 1.4s; }
.sparkle.s4 { top: 8%; left: 25%; font-size: 14px; animation-delay: 2.1s; color: var(--mint-d); }

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

/* ========================================================
   Services grid (home preview)
   ======================================================== */
.services {
  background: var(--white);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky-200), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 32px 26px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sky-50), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--sky-300);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  background: var(--sky-100);
  border-radius: 14px;
  margin-bottom: 20px;
  transition: all 0.4s var(--ease-out);
  color: var(--sky-600);
}

.service-card:hover .service-icon {
  background: var(--sky-500);
  color: var(--white);
  transform: scale(1.06) rotate(-4deg);
}

.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.service-card .more {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sky-600);
  transition: gap 0.2s var(--ease-out);
}

.service-card:hover .more { gap: 10px; }

/* ========================================================
   Why-us / Features
   ======================================================== */
.why {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.why-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 50%),
    linear-gradient(135deg, var(--sky-200), var(--sky-400));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 70%, rgba(184, 230, 214, 0.6), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.45), transparent 35%);
}

.why-visual::after {
  content: '✦';
  position: absolute;
  top: 14%; left: 18%;
  font-size: 90px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 100;
  animation: gentle-spin 20s linear infinite;
}

@keyframes gentle-spin {
  to { transform: rotate(360deg); }
}

.why-card-float {
  position: absolute;
  bottom: 28px; left: 28px;
  background: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: orb-float 5s var(--ease) infinite;
}

.why-card-float .ring {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--mint-d));
  display: grid;
  place-items: center;
  color: var(--white);
}

.why-card-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--sky-900);
}

.why-card-float small {
  font-size: 0.78rem;
  color: var(--muted);
}

.why h2 { margin-bottom: 18px; }
.why-lede { font-size: 1.05rem; margin-bottom: 36px; max-width: 520px; }

.feature-list {
  list-style: none;
  display: grid;
  gap: 18px;
}

.feature-list li {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
}

.feature-list li:hover {
  border-color: var(--sky-300);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.feature-list .check {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--sky-100);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--sky-600);
}

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--sky-900);
  margin-bottom: 4px;
  font-weight: 500;
}

.feature-list p {
  font-size: 0.92rem;
  margin: 0;
}

/* ========================================================
   Process steps
   ======================================================== */
.process {
  background: linear-gradient(180deg, var(--white) 0%, var(--sky-50) 100%);
  position: relative;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--sky-300) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.step-num {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--white);
  border: 2px solid var(--sky-300);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sky-700);
  font-weight: 500;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 16px rgba(45, 151, 206, 0.15);
}

.step:hover .step-num {
  background: var(--sky-500);
  color: var(--white);
  border-color: var(--sky-500);
  transform: scale(1.08);
}

.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; }

/* ========================================================
   CTA band
   ======================================================== */
.cta-band {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: linear-gradient(135deg, var(--sky-700), var(--sky-900));
  border-radius: var(--radius-xl);
  padding: 70px 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(20, 72, 106, 0.3);
}

.cta-card::before,
.cta-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 205, 236, 0.4), transparent 60%);
}

.cta-card::before {
  width: 360px; height: 360px;
  top: -120px; left: -100px;
}

.cta-card::after {
  width: 280px; height: 280px;
  bottom: -120px; right: -80px;
  background: radial-gradient(circle, rgba(184, 230, 214, 0.3), transparent 60%);
}

.cta-card > * { position: relative; z-index: 1; }

.cta-card h2 { color: var(--white); margin-bottom: 14px; }
.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

.cta-card .btn-primary {
  background: var(--white);
  color: var(--sky-800);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-card .btn-primary:hover {
  background: var(--sky-50);
  transform: translateY(-2px);
}

.cta-card .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-card .btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* ========================================================
   Page header (about, services, contact)
   ======================================================== */
.page-head {
  padding: 160px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(143, 205, 236, 0.3), transparent),
    var(--cream);
}

.page-head h1 { margin-bottom: 16px; }
.page-head p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.crumbs a { color: var(--sky-600); }
.crumbs a:hover { text-decoration: underline; }

/* ========================================================
   Services full list (services page)
   ======================================================== */
.services-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-full {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-full::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--sky-100), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.service-full:hover {
  transform: translateY(-4px);
  border-color: var(--sky-300);
  box-shadow: var(--shadow-lg);
}

.service-full:hover::after { opacity: 1; }

.service-full .service-icon {
  width: 64px; height: 64px;
  margin-bottom: 0;
}

.service-full .service-icon svg { width: 28px; height: 28px; }

.service-full h3 { margin-bottom: 10px; font-size: 1.35rem; }
.service-full p { font-size: 0.97rem; line-height: 1.65; margin-bottom: 14px; }

.service-full ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-full li {
  font-size: 0.82rem;
  background: var(--sky-100);
  color: var(--sky-700);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 500;
}

/* ========================================================
   About story
   ======================================================== */
.story {
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.story-text h2 { margin-bottom: 20px; }
.story-text p {
  font-size: 1.02rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.story-text p:last-child { margin-bottom: 0; }

.story-text .signature {
  margin-top: 30px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--sky-700);
}

.story-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 70% 30%, var(--mint), transparent 50%),
    linear-gradient(160deg, var(--sky-100), var(--sky-300));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.story-visual::before {
  content: '"';
  position: absolute;
  top: 30px; left: 36px;
  font-family: var(--font-display);
  font-size: 200px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.6);
}

.story-quote {
  position: absolute;
  bottom: 36px; left: 36px; right: 36px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.4;
  font-style: italic;
}

.story-quote small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 12px;
  letter-spacing: 0.05em;
}

/* ========================================================
   Values (about)
   ======================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.value-card {
  padding: 36px 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.4s var(--ease-out);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-300);
}

.value-card .ring {
  width: 70px; height: 70px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-200), var(--sky-400));
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(45, 151, 206, 0.3);
}

.value-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.value-card p { font-size: 0.95rem; }

/* ========================================================
   Contact page
   ======================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info {
  padding: 44px;
  background: linear-gradient(160deg, var(--sky-700), var(--sky-900));
  color: var(--white);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 205, 236, 0.35), transparent 70%);
}

.contact-info::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 230, 214, 0.3), transparent 70%);
}

.contact-info > * { position: relative; z-index: 1; }

.contact-info h2 { color: var(--white); margin-bottom: 14px; }

.contact-info > p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  font-size: 1.02rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-list .icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--white);
}

.contact-list small {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4px;
}

.contact-list a, .contact-list span {
  color: var(--white);
  font-size: 1.02rem;
  transition: color 0.2s var(--ease);
}

.contact-list a:hover { color: var(--mint); }

.contact-form {
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--sky-800);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cream);
  transition: all 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(45, 151, 206, 0.12);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #e7f5ee;
  color: #1f7048;
  border: 1px solid #b6dec5;
}

.form-status.error {
  display: block;
  background: #fde8e8;
  color: #9b1c1c;
  border: 1px solid #f5c2c2;
}

/* ========================================================
   FAQ
   ======================================================== */
.faq {
  background: var(--cream);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.faq-item.open {
  border-color: var(--sky-400);
  box-shadow: var(--shadow-md);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--sky-900);
  font-weight: 500;
}

.faq-q .ico {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sky-100);
  display: grid;
  place-items: center;
  color: var(--sky-600);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.faq-item.open .faq-q .ico {
  transform: rotate(45deg);
  background: var(--sky-500);
  color: var(--white);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ========================================================
   Responsive
   ======================================================== */
@media (max-width: 960px) {
  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 360px; margin: 0 auto; justify-self: center; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .steps::before { display: none; }

  .services-full { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 50px 30px; }

  .page-head { padding: 130px 0 50px; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .service-full { grid-template-columns: 1fr; padding: 26px; gap: 16px; }
  .contact-info, .contact-form { padding: 30px 24px; }
  .hero-stat strong { font-size: 1.6rem; }
  .hero-stats { gap: 18px; }
}
