/* ============================================================
   Athena Centro Benessere - Rieti | style.css
   Warm elegant spa / wellness aesthetic
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Palette - warm spa tones: rose gold / blush / sage */
  --blue-900: #3a2a2a;        /* deep bark brown (H1/dark text) */
  --blue-700: #8a6a54;        /* warm bronze (primary) */
  --blue-500: #b08868;        /* rose gold */
  --blue-300: #d7b99a;        /* soft taupe */
  --blue-100: #f3e7d8;        /* cream beige */
  --blue-50:  #faf4ec;        /* ivory */

  --teal-700: #6c8773;        /* deep sage */
  --teal-500: #8aa793;        /* sage green accent */
  --teal-300: #b8cfbe;        /* pale sage */
  --teal-100: #e4eee7;        /* whisper sage */

  --white: #ffffff;
  --offwhite: #fbf7f2;
  --gray-50: #f6f1ea;
  --gray-100: #ebe3d8;
  --gray-200: #d8ccbd;
  --gray-400: #b5a794;
  --gray-600: #7a6e5e;
  --gray-800: #3e3428;
  --text: #2a2218;

  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 10px rgba(138, 106, 84, 0.08);
  --shadow-md: 0 8px 30px rgba(138, 106, 84, 0.12);
  --shadow-lg: 0 20px 50px rgba(58, 42, 42, 0.18);
  --shadow-xl: 0 30px 70px rgba(58, 42, 42, 0.22);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.2;
  color: var(--blue-900);
  font-weight: 700;
}

p { margin: 0; }

a {
  color: var(--blue-700);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--teal-500); }

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

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

/* ===== HEADER ===== */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--gray-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
  height: 82px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blue-900);
  flex-shrink: 0;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--teal-500) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(30, 95, 168, 0.25);
}

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

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--blue-900);
  line-height: 1.1;
}

.logo-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ===== NAV ===== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--gray-800);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.main-nav a:hover {
  color: var(--blue-700);
  background: var(--blue-50);
}

.main-nav a.nav-cta {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-500) 100%);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 50px;
  margin-left: 8px;
  box-shadow: 0 6px 16px rgba(30, 95, 168, 0.25);
  font-weight: 600;
}

.main-nav a.nav-cta:hover {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(30, 95, 168, 0.30);
}

/* ===== BURGER ===== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  transition: all var(--transition);
}

.burger:hover { background: var(--blue-50); border-color: var(--blue-100); }

.burger span {
  width: 100%;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-500) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(30, 95, 168, 0.30);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 95, 168, 0.40);
}

.btn-secondary {
  background: var(--teal-500);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(11, 181, 161, 0.30);
}

.btn-secondary:hover {
  background: var(--teal-700);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-900);
  border: 2px solid var(--blue-100);
}

.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-300);
  color: var(--blue-900);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(11, 181, 161, 0.12), transparent 70%),
    radial-gradient(700px 400px at 10% 80%, rgba(30, 95, 168, 0.10), transparent 70%),
    linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 95, 168, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 95, 168, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-text { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--blue-100);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-700);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(11, 181, 161, 0.2);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--teal-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--gray-100);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.hero-trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--teal-500);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 8 / 7;
  background: var(--blue-100);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 59, 114, 0.25));
  pointer-events: none;
}

.hero-floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.hero-floating-card.card-top {
  top: 26px;
  left: -30px;
}

.hero-floating-card.card-bottom {
  bottom: 26px;
  right: -24px;
}

.hero-floating-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-card.card-bottom .icon {
  background: var(--teal-100);
  color: var(--teal-700);
}

.hero-floating-card .icon svg { width: 22px; height: 22px; }

.hero-floating-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--blue-900);
  font-weight: 600;
  line-height: 1.25;
}

.hero-floating-card span {
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* ===== STRIP (stats / trust) ===== */
.strip {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  padding: 44px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 100% 50%, rgba(11, 181, 161, 0.25), transparent 70%);
}

.strip .container { position: relative; }

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.strip-grid > div:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(180deg, var(--white) 0%, var(--teal-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.88rem;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section.section-alt {
  background: var(--offwhite);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.section-head .divider {
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--teal-500));
  margin: 18px auto 0;
}

/* ===== SERVIZI GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--teal-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-100);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--teal-100) 100%);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--teal-500) 100%);
  color: var(--white);
  transform: scale(1.05) rotate(-4deg);
}

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

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--blue-900);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== CHI SIAMO (about) ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--blue-100);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--teal-300);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-visual::after {
  content: "";
  position: absolute;
  bottom: -22px;
  right: -22px;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--teal-100) 100%);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-highlights {
  list-style: none;
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--gray-800);
  font-weight: 500;
}

.about-highlights li svg {
  width: 20px;
  height: 20px;
  color: var(--teal-500);
  flex-shrink: 0;
}

/* ===== PERCHE SCEGLIERCI ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--teal-500) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 24px rgba(30, 95, 168, 0.25);
  position: relative;
}

.why-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed var(--blue-100);
  opacity: 0.8;
}

.why-icon svg {
  width: 30px;
  height: 30px;
}

.why-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--blue-900);
  margin-bottom: 10px;
}

.why-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== ORARI E SEDI ===== */
.sedi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.sede-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
  transition: all var(--transition);
}

.sede-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.sede-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.sede-marker {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--teal-500) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(30, 95, 168, 0.25);
}

.sede-marker svg { width: 26px; height: 26px; }

.sede-head h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--blue-900);
  margin-bottom: 4px;
}

.sede-head p {
  font-size: 0.94rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.sede-hours {
  margin-bottom: 24px;
}

.sede-hours h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sede-hours h4::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}

.sede-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gray-100);
  font-size: 0.95rem;
}

.sede-hours-row:last-child { border-bottom: none; }

.sede-hours-row .day {
  color: var(--gray-800);
  font-weight: 500;
}

.sede-hours-row .time {
  color: var(--blue-700);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sede-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-700);
  padding: 10px 18px;
  background: var(--blue-50);
  border-radius: 50px;
  transition: all var(--transition);
}

.sede-map-link:hover {
  background: var(--blue-700);
  color: var(--white);
  transform: translateY(-2px);
}

.sede-map-link svg { width: 16px; height: 16px; }

/* ===== FAQ ===== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item[open],
.faq-item:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--blue-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-50);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231e5fa8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--transition), background-color var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-color: var(--blue-700);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}

.faq-item .faq-body {
  padding: 0 28px 24px;
  color: var(--gray-600);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ===== CONTATTI ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}

.contact-card {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--teal-700) 130%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 181, 161, 0.35), transparent 60%);
}

.contact-card::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.contact-card > * { position: relative; }

.contact-card h3 {
  color: var(--white);
  font-size: 1.9rem;
  margin-bottom: 14px;
  line-height: 1.2;
}

.contact-card .lead {
  opacity: 0.9;
  margin-bottom: 32px;
  font-size: 1rem;
}

.contact-big-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.contact-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 16px 22px;
  border-radius: var(--radius);
  color: var(--white);
  transition: all var(--transition);
  backdrop-filter: blur(6px);
}

.contact-cta:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  transform: translateX(4px);
}

.contact-cta .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--white);
  color: var(--blue-700);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-cta .icon svg { width: 22px; height: 22px; }

.contact-cta strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contact-cta span {
  font-size: 0.82rem;
  opacity: 0.85;
}

.contact-addresses {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-addresses div strong {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}

.contact-addresses p {
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Contact side info */
.contact-info {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--gray-600);
  margin-bottom: 28px;
  font-size: 0.98rem;
}

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.94rem;
  color: var(--gray-800);
}

.contact-info-list li:last-child { border-bottom: none; }

.contact-info-list .mark {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-list .mark svg { width: 18px; height: 18px; }

.contact-info-list strong {
  display: block;
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: 2px;
  font-size: 0.96rem;
}

.contact-info-list em {
  font-style: normal;
  color: var(--gray-600);
  font-size: 0.88rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, var(--blue-900) 0%, #0a2a55 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 0;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 280px at 10% 0%, rgba(11, 181, 161, 0.14), transparent 70%),
    radial-gradient(400px 280px at 95% 100%, rgba(30, 95, 168, 0.25), transparent 70%);
  pointer-events: none;
}

.site-footer .container { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--teal-500) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .footer-logo-icon svg { width: 24px; height: 24px; }

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.1;
}

.footer-brand .logo-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  transition: color var(--transition), padding var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--teal-300);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact-item strong {
  color: var(--white);
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 0.88rem;
}

.footer-contact-item a { color: var(--teal-300); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

/* ===== 404 PAGE ===== */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background:
    radial-gradient(700px 400px at 50% 20%, rgba(11, 181, 161, 0.10), transparent 70%),
    linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
}

.error-content { max-width: 560px; }

.error-code {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--teal-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  color: var(--blue-900);
  margin-bottom: 14px;
}

.error-text {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.error-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
  .hero-layout { gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-floating-card.card-top { left: -12px; }
  .hero-floating-card.card-bottom { right: -8px; }
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-100);
    gap: 4px;
  }

  .main-nav.active { display: flex; }

  .main-nav a {
    padding: 14px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .main-nav a.nav-cta {
    margin-left: 0;
    margin-top: 8px;
    justify-content: center;
  }

  .burger { display: flex; align-items: center; }
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 72px; }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sedi-grid { grid-template-columns: 1fr; }
  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .strip-grid > div { border-right: none !important; }
  .strip-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 22px;
  }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 72px; }
  .header-inner { height: 72px; }
  .main-nav { top: 72px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 1.7rem; }

  .hero h1 { font-size: 2rem; }
  .hero-lead { font-size: 1rem; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }

  .hero-floating-card.card-top { top: 14px; left: 10px; padding: 10px 14px; }
  .hero-floating-card.card-bottom { bottom: 14px; right: 10px; padding: 10px 14px; }
  .hero-floating-card .icon { width: 36px; height: 36px; }
  .hero-floating-card strong { font-size: 0.82rem; }
  .hero-floating-card span { font-size: 0.7rem; }

  .services-grid,
  .why-grid,
  .about-highlights {
    grid-template-columns: 1fr;
  }

  .services-grid { gap: 16px; }
  .service-card { padding: 28px 24px; }

  .sede-card { padding: 28px 24px; }
  .sede-head { gap: 14px; margin-bottom: 18px; padding-bottom: 18px; }
  .sede-head h3 { font-size: 1.15rem; }

  .contact-card { padding: 36px 26px; }
  .contact-card h3 { font-size: 1.5rem; }
  .contact-info { padding: 32px 26px; }
  .contact-addresses { grid-template-columns: 1fr; gap: 16px; }

  .contact-cta strong { font-size: 1.1rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .logo-text { font-size: 1.15rem; }
  .logo-sub { font-size: 0.6rem; }

  .strip { padding: 36px 0; }
  .stat-number { font-size: 1.9rem; }

  .faq-item summary { padding: 18px 22px; font-size: 0.95rem; }
  .faq-item .faq-body { padding: 0 22px 20px; font-size: 0.92rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-trust { gap: 16px; }
  .hero-trust-item { font-size: 0.82rem; }
  .strip-grid { grid-template-columns: 1fr; gap: 24px; }
  .strip-grid > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-bottom: 22px;
  }
  .strip-grid > div:last-child { border-bottom: none !important; padding-bottom: 0; }

  .about-visual::before,
  .about-visual::after {
    display: none;
  }
}

/* Print */
@media print {
  .site-header, .site-footer, .burger, .hero-ctas, .contact-big-ctas {
    display: none !important;
  }
  body { background: #fff; color: #000; }
}

/* Мобильная залипалка CTA (только на страницах товаров — JS проверяет #ordina) */
.mobile-cta{display:none;position:fixed;bottom:0;left:0;right:0;z-index:99;background:var(--white);padding:10px 16px;box-shadow:0 -4px 20px rgba(0,0,0,0.15);border-top:1px solid var(--gray-100)}
.mobile-cta a{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:14px;background:var(--teal-500);color:var(--white);border-radius:50px;font-family:'Poppins',sans-serif;font-size:1rem;font-weight:600;text-decoration:none;transition:all var(--transition)}
.mobile-cta a:hover{background:var(--teal-700)}
.mobile-cta a svg{width:18px;height:18px}
@media(max-width:768px){body:has(#ordina){padding-bottom:80px}}

/* ===== LEGAL PAGES ===== */
.legal-page { padding: 60px 0 80px; background: #fafbfd; }
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 4px solid var(--blue-500);
}
.legal-wrap h1 {
  font-family: 'Poppins',sans-serif;
  font-size: 2.1rem;
  color: var(--blue-900);
  margin-bottom: 8px;
  line-height: 1.2;
}
.legal-meta {
  color: var(--gray-600);
  font-size: 0.85rem;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}
.legal-wrap h2 {
  font-family: 'Poppins',sans-serif;
  font-size: 1.35rem;
  color: var(--blue-900);
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.legal-wrap h3 {
  font-size: 1.05rem;
  color: var(--blue-900);
  margin: 22px 0 10px;
}
.legal-wrap p, .legal-wrap li {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.legal-wrap ul, .legal-wrap ol { padding-left: 22px; margin-bottom: 14px; }
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap strong { color: var(--blue-900); }
.legal-wrap a { color: var(--blue-500); text-decoration: underline; word-break: break-word; }
.legal-data {
  background: var(--blue-100);
  opacity: 0.95;
  border-left: 3px solid var(--blue-500);
  border-radius: 6px;
  padding: 18px 22px;
  margin: 18px 0;
  font-size: 0.9rem;
}
.legal-data div { margin-bottom: 6px; }
.legal-data strong { display: inline-block; min-width: 180px; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 22px;
  font-size: 0.88rem;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-100);
}
.legal-table th {
  background: var(--blue-100);
  color: var(--blue-900);
  font-family: 'Poppins',sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.legal-form {
  background: var(--blue-100);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  padding: 22px 26px;
  margin: 18px 0;
  font-size: 0.9rem;
}
.legal-form p { margin-bottom: 10px; }
.field-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0;
  color: var(--gray-600);
}
.field-blank {
  flex: 1 1 160px;
  min-width: 80px;
  height: 1px;
  background: repeating-linear-gradient(to right, #7a8079 0 4px, transparent 4px 8px);
  align-self: flex-end;
  margin-bottom: 4px;
}
.field-blank.short { flex: 0 1 120px; min-width: 60px; }
@media (max-width: 900px) { .legal-wrap { padding: 40px 32px; } }
@media (max-width: 720px) {
  .legal-page { padding: 28px 0 48px; }
  .legal-wrap { padding: 28px 20px; border-radius: 10px; }
  .legal-wrap h1 { font-size: 1.45rem; }
  .legal-wrap h2 { font-size: 1.08rem; margin: 28px 0 10px; }
  .legal-wrap h3 { font-size: 0.98rem; }
  .legal-wrap p, .legal-wrap li { font-size: 0.9rem; }
  .legal-meta { font-size: 0.78rem; margin-bottom: 22px; }
  .legal-data { padding: 14px 16px; font-size: 0.85rem; }
  .legal-data strong { min-width: 100%; display: block; margin-bottom: 2px; }
  .legal-table, .legal-table thead, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table thead { display: none; }
  .legal-table tr { background: #fff; border: 1px solid var(--gray-100); border-radius: 8px; margin-bottom: 12px; padding: 10px 14px; }
  .legal-table td { padding: 6px 0; border: 0; font-size: 0.85rem; display: flex; flex-direction: column; gap: 2px; }
  .legal-table td::before {
    content: attr(data-label);
    font-family: 'Poppins',sans-serif;
    font-size: 0.7rem;
    color: var(--blue-900);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }
}
