/* =========================================================
   Arlyia Medical — style.css (clean, no duplicates)
   Light clinical layout + luxury purple/gold accents
   ========================================================= */

:root{
  --bg: #FAFAFC;
  --surface: #FFFFFF;
  --text: #111827;
  --muted: #6B7280;

  --accent: #6D4BC4;     /* soft violet */
  --accent2:#402963;    /* hover violet */
  --gold:  #D6B25E;      /* gold */

  --border:#d6b25e;
  --shadow: 0 10px 30px rgba(17,24,39,0.08);

  --radius-lg: 20px;
  --radius-md: 16px;

  --container: 1120px;

  --btn-h: 48px;
  --focus: 0 0 0 3px rgba(109,75,196,0.22);
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce){
  *{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

a{ color:inherit; text-decoration:none; }

a:focus, button:focus, input:focus, select:focus, textarea:focus{
  outline:none;
  box-shadow: var(--focus);
  border-color: rgba(109,75,196,0.45) !important;
}

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section{ padding: 25px 0; }
@media (min-width: 900px){
  .section{ padding: 25px 0; }
}

.card{ 

background:var(--surface);
 border:1px solid var(--border);
 border-radius: var(--radius-lg); 
box-shadow: 0 1px 0 rgba(17,24,39,0.02);

 }
.card1{ 

box-shadow: 0 1px 0 rgba(17,24,39,0.02);

 }

.card2{ 

background:var(--surface);
 border:1px solid var(--border);
 border-radius: var(--radius-lg); 
box-shadow: 0 1px 0 rgba(17,24,39,0.02);
width: max-content;
 }

/* Typography */
h1, h2, .h2{
  font-family: "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;
}
.hero h1{ letter-spacing: -0.4px; }

/* Badge */
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(214,178,94,0.35);
  background: rgba(214,178,94,0.12);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height: var(--btn-h);
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor:pointer;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  user-select:none;
}
.btn:active{ transform: scale(0.98); }

.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  box-shadow: 0 10px 24px rgba(109,75,196,0.18);
  border: 1px solid rgba(214,178,94,0.22);
}
.btn-primary:hover{ opacity: 0.95; }

.btn-ghost{
  background: rgba(255,255,255,0.72);
  border-color: rgba(214,178,94,0.28);
  color: var(--accent);
}
.btn-ghost:hover{
  background: rgba(255,255,255,0.92);
  border-color: rgba(214,178,94,0.38);
}

/* Top progress bar */
.progress{
  position: fixed;
  top:0; left:0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 9999;
}

/* =========================================================
   HEADER (single source of truth)
   ========================================================= */
/* =========================================================
   PROMO PRICES BANNER (under logo)
   ========================================================= */
.site-banner{
  border-top: 1px solid rgba(214,178,94,0.14);
  border-bottom: 1px solid rgba(214,178,94,0.10);
  background: rgba(255,255,255,0.04);
}
.site-banner-inner{
  padding: 8px 0;
  text-align: center;
  color: #d6b25e;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.2px;
}
@media (max-width: 640px){
  .site-banner-inner{
    font-size: 12px;
    padding: 7px 0;
  }
}

.header{
  position: sticky;
  top:0;
  z-index: 1000;

  /* luxury purple blend */
  background:
    radial-gradient(900px 260px at 50% 55%, rgba(125,90,224,0.22), transparent 60%),
    radial-gradient(700px 220px at 50% 55%, rgba(214,178,94,0.10), transparent 70%),
    linear-gradient(90deg, #160824 0%, #241046 45%, #1B0B2E 100%);

  /* glass effect (see-through) */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(214,178,94,0.18);
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}
.brand img{
  width: 150px;
  height: auto;
  border-radius: 16px;
  
}
.brand .brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  min-width:0;
}
.brand .brand-text strong,
.brand .brand-text span{
  color:#fff;
  opacity:0.95;
}
.brand .brand-text strong{
  font-size: 16px;
  letter-spacing: 0.2px;
}
.brand .brand-text span{
  font-size: 13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* NAV: gold, responsive sizing */
.nav{
  display:flex;
  align-items:center;
  gap: 22px;
flex-direction: row;
}
.nav a{
  color: #d6b25e;
  font-weight: 800;
  font-size: 14px;     /* mobile default */
  letter-spacing: 0.2px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background .15s ease, transform .15s ease, opacity .15s ease;
}
.nav a:hover{
  background: rgba(214,178,94,0.10);
  transform: translateY(-1px);
}
.nav a.active{
  background: rgba(214,178,94,0.14);
}

@media (min-width: 900px){
  .nav a{ font-size: 21px; }  /* desktop */
}

/* Mobile: logo top, nav one under another */
@media (max-width: 640px){
  .header-inner{
    align-items: center;
    justify-content:center;
    gap: 0px;
  }
  .nav{
  
    gap: 0px;
    width: 100%;
  }
  .nav a{
    display:block;
    width: 100%;
    text-align:center;
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  overflow:hidden;
  border-bottom: 1px solid rgba(231,231,239,0.8);
}
.hero::before{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(1200px 520px at 15% 10%, rgba(109,75,196,0.16), transparent 60%),
    radial-gradient(900px 420px at 85% 30%, rgba(214,178,94,0.12), transparent 55%),
    radial-gradient(800px 420px at 55% 90%, rgba(109,75,196,0.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.70), rgba(250,250,252,1));
  animation: heroFloat 10s ease-in-out infinite;
}
@keyframes heroFloat{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(0,-10px,0) scale(1.01); }
}

.hero-inner{
  position: relative;
  padding: 44px 0 34px;
}
@media (min-width: 900px){
  .hero-inner{ padding: 70px 0 54px; }
}

.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items:center;
}
@media (min-width: 900px){
  .hero-grid{ grid-template-columns: 1.1fr 0.9fr; gap: 34px; }
}

.hero h1{
  margin: 10px 0 12px;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.6px;
  overflow-wrap: anywhere;
}
@media (min-width: 900px){
  .hero h1{ font-size: 44px; }
}

.hero p{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}
@media (min-width: 900px){
  .hero p{ font-size: 18px; max-width: 52ch; }
}

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

.hero-media{
  border-radius: var(--radius-lg);
  border:1px solid rgba(231,231,239,0.9);
  box-shadow: var(--shadow);
  overflow:hidden;
  background: #fff;
  min-height: 260px;
}
.hero-media img{
  width:100%;
  height:auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* =========================================================
   GRID / FEATURES
   ========================================================= */
.grid3{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 900px){
  .grid3{ grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

.feature{
  padding: 18px;
  border-radius: var(--radius-lg);
  border:1px solid var(--border);
  background: var(--surface);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17,24,39,0.08);
  border-color: rgba(109,75,196,0.18);
}
.feature h3{
  margin: 0 0 8px;
  font-size: 18px;
}
.feature p{
  margin:0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Split layout */
.split{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items:start;
}
@media (min-width: 900px){
  .split{ grid-template-columns: 1fr 1fr; gap: 26px; }
}

.kicker{
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.2px;
  margin:0 0 8px;
}
.h2{
  margin:0 0 12px;
  font-size: 26px;
  letter-spacing:-0.3px;
}
@media (min-width: 900px){
  .h2{ font-size: 32px; }
}

.lead{
  margin:0;
  color: var(--muted);
  font-size: 15.5px;
}

.list{
  margin: 14px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap: 10px;
}
.list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color: var(--text);
}
.dot{
  margin-top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  flex: 0 0 auto;
}

/* =========================================================
   PRICING TABLES
   ========================================================= */
.price-wrap{ display:grid; gap: 14px; }

.price-box{
  padding: 18px;
  border-radius: var(--radius-lg);
  border:1px solid var(--border);
  background: var(--surface);
}

.price-box h3{
  margin:0 0 10px;
  font-size: 18px;
}

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
}
.table tr{ border-top:1px solid rgba(231,231,239,0.9); }
.table tr:first-child{ border-top:none; }
.table td{
  padding: 10px 0;
  vertical-align: top;
  font-size: 13.5px;
}
.table td:last-child{
  text-align:right;
  font-weight: 600;
  color: #d6b25e;
  white-space: nowrap;
}

/* =========================================================
   FORMS
   ========================================================= */
.form{ padding: 18px; }

.field{
  display:grid;
  gap:8px;
  margin-bottom: 12px;
}

label{
  font-weight: 900;
  font-size: 13px;
  color: var(--text);
}

input, select, textarea{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(231,231,239,0.95);
  background:#fff;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}

textarea{ min-height: 110px; resize: vertical; }
.hint{ font-size: 12.5px; color: var(--muted); }

/* Note box */
.note{
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border:1px solid rgba(214,178,94,0.22);
  background: rgba(214,178,94,0.10);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  padding: 16px 0 20px; /* extra space for mobile CTA */
  border-top: 1px solid rgba(231,231,239,0.9);
  color: var(--muted);
  font-size: 13px;
}
.footer a{
  color: #000000;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.wa-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25D366;
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,0.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover{ transform: translateY(-2px); }
.wa-float:active{ transform: scale(0.98); }
.wa-float svg{ width: 26px; height: 26px; fill:#fff; }

/* =========================================================
   MOBILE STICKY CTA
   ========================================================= */
.mobile-cta{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9997;
  display:none;
}
.mobile-cta .bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(214,178,94,0.20);
  box-shadow: 0 14px 34px rgba(17,24,39,0.12);
  backdrop-filter: blur(12px);
}
.mobile-cta .bar strong{
  font-size: 13px;
  line-height:1.2;
}
.mobile-cta .bar span{
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 520px){
  .mobile-cta{ display:block; }
}

/* Utilities */
.mt-1{ margin-top: 10px; }
.mt-2{ margin-top: 16px; }
.mt-3{ margin-top: 24px; }

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}
.brand img{
  width: 150px;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 700px){
  .brand img{ width: clamp(90px, 28vw, 110px); }
}

/* NAV column on the RIGHT of the logo */
.nav{
  display:flex;
   align-items: flex-end;       /* <-- stick to right side */
}

.nav a{
  color: #d6b25e;
  font-weight: 800;
  font-size: 14px;             /* mobile */
  letter-spacing: 0.2px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background .15s ease, transform .15s ease;
}

.nav a:hover{
  background: rgba(214,178,94,0.10);
  transform: translateY(-1px);
}
.nav a.active{
  background: rgba(214,178,94,0.14);
}

/* desktop size */
@media (min-width: 900px){
  .nav a{ font-size: 21px; }
}
.header .container{
  width: min(var(--container), calc(100% - 20px)); /* było -40px */
}

/* Hamburger button */
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(214,178,94,0.24);
  background: rgba(255,255,255,0.06);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap: 5px;
flex-direction: column;
}
.nav-toggle span{
  display:block;
  width: 22px;
  height: 2px;
  background: #d6b25e;
  border-radius: 2px;
}

/* Mobile dropdown panel (hidden by default) */
.nav-panel{
  display:none;
  border-top: 1px solid rgba(214,178,94,0.18);
  background:
    radial-gradient(900px 260px at 50% 55%, rgba(125,90,224,0.18), transparent 60%),
    linear-gradient(90deg, #160824 0%, #241046 45%, #1B0B2E 100%);
}
.nav-panel a{
  display:block;
  padding: 14px 18px;
  color: #d6b25e;
  font-weight: 800;
  font-size: 16px;
  border-bottom: 1px solid rgba(214,178,94,0.10);
text-align: center;
}
.nav-panel a:last-child{ border-bottom:none; }

/* Mobile layout */
@media (max-width: 640px){
  .header-inner{
    position: relative;
    justify-content:center;     /* logo center */
  }

  .brand{
    justify-content:center;
  }

  .nav{ display:none; }         /* hide desktop nav */
  .nav-toggle{
    display:flex;
    position:absolute;
    right: 0;                   /* hamburger right */
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-panel.is-open{ display:block; }
}

/* Treatments page hero image */
.treatments-hero{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(214,178,94,0.18);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  background: #fff;
}

.treatments-hero img{
  width: 100%;
  height: auto;
  aspect-ratio: 2.3;   /* wygląda elegancko jako banner */
  object-fit: cover;
  display:block;
}

/* subtle brand overlay so it matches purple/gold */
.treatments-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 280px at 20% 30%, rgba(125,90,224,0.22), transparent 60%),
    radial-gradient(700px 240px at 80% 70%, rgba(214,178,94,0.12), transparent 65%),
    linear-gradient(90deg, rgba(22,8,36,0.18), rgba(22,8,36,0.06));
  pointer-events:none;
}

/* mobile: trochę wyżej proporcja */
@media (max-width: 640px){
  .treatments-hero img{ aspect-ratio: 16 / 10; }
}


/* ------------- */

/* =========================================================
   HEADER LAYOUT — DESKTOP PERFECT CENTER
   ========================================================= */

.header-inner{
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left spacer | logo | right nav */
  align-items: center;
  gap: 16px;
 justify-content:space-between;
}

/* logo idealnie w centrum */
.brand{
  justify-self: center;
}

/* nav dociśnięte do prawej */
.nav{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

/* (opcjonalnie) jeśli chcesz jeszcze bardziej w prawo */
@media (min-width: 900px){
  .nav{ margin-right: 6px; }
}

/* Mobile: zostaje Twój hamburger + center logo */
@media (max-width: 640px){
  .header-inner{
    display:flex;
    align-items:center;
    justify-content:center;
    position: relative;
  }
  .brand{ justify-content:center; }
  .nav{ display:none; }
  .nav-toggle{
    display:flex;
    position:absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

