/* ============================================================
   Rhinofix — theme: "Breathe Easy"
   Airy azure sky + seafoam + soft coral on pale mist.
   A light, open, breathe-freely look for a nasal & sinus drops
   product. Distinct from Uro UP Forte (deep petrol + sand),
   Cardiox (crimson/ivory), Duston Gel (navy/copper ember),
   Motion Energy (warm orange/teal). Mobile-first, >=320px.
   ============================================================ */

:root {
  --sky: #2e9cc2;          /* azure sky */
  --sky-deep: #1d7496;     /* deep azure */
  --foam: #69cdbc;         /* seafoam */
  --foam-soft: #e4f6f1;    /* pale seafoam wash */
  --coral: #ff8a6b;        /* soft coral accent */
  --coral-deep: #ef6a4c;   /* deep coral */
  --air: #f2fafb;          /* pale mist page background */
  --ink: #1c3a44;          /* deep slate-teal body text */
  --muted: #5f7c86;        /* secondary text */
  --line: #d7e9ec;         /* hairline */
  --white: #ffffff;
  --grad-cta: linear-gradient(135deg, var(--sky) 0%, var(--foam) 100%);
  --grad-coral: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  --grad-mist: linear-gradient(150deg, #e9f8f5 0%, #e6f4fb 100%);
  --radius: 20px;
  --shadow: 0 8px 26px rgba(30, 92, 110, 0.12);
  --shadow-sm: 0 4px 14px rgba(30, 92, 110, 0.08);
}

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

html { scroll-behavior: smooth; }
html[lang^="ar"] { direction: rtl; }
html[lang^="ar"] body { text-align: right; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--air);
  line-height: 1.62;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 66px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.2rem; letter-spacing: 0.01em; color: var(--sky-deep);
  display: inline-flex; align-items: center; gap: 9px; }
.brand::before { content: ""; display: inline-block; width: 15px; height: 15px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--foam), var(--sky));
  border: 2px solid var(--foam-soft); vertical-align: baseline; }

.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a { padding: 8px 13px; font-weight: 600; font-size: 0.95rem; color: var(--ink);
  border-radius: 12px; transition: background 0.2s, color 0.2s; }
.nav a:hover { background: var(--foam-soft); color: var(--sky-deep); }

.cta-btn { display: inline-block; padding: 13px 24px; border-radius: 999px;
  background: var(--grad-coral); color: #fff; font-weight: 700; font-size: 0.95rem;
  box-shadow: var(--shadow-sm); border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(239, 106, 76, 0.38); filter: brightness(1.04); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer;
  padding: 10px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 3px; border-radius: 3px;
  background: var(--sky-deep); }

/* ============ Hero ============ */
.hero { background: var(--grad-mist);
  background-image: radial-gradient(circle at 78% 18%, rgba(255, 138, 107, 0.16) 0, transparent 40%),
    radial-gradient(circle at 8% 85%, rgba(105, 205, 188, 0.2) 0, transparent 42%),
    linear-gradient(150deg, #eaf8f5 0%, #e4f3fb 100%);
  padding: 54px 0 64px; overflow: hidden; position: relative; }
.hero-in { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; position: relative; }
.hero-copy { max-width: 100%; }
.eyebrow { display: inline-block; background: rgba(105, 205, 188, 0.22); color: var(--sky-deep);
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 15px; border-radius: 999px; margin-bottom: 17px; border: 1px solid rgba(105,205,188,0.4); }
h1 { font-size: 2.1rem; line-height: 1.16; font-weight: 800; color: var(--sky-deep);
  letter-spacing: -0.015em; margin-bottom: 14px; }
.lead { font-size: 1.1rem; color: var(--ink); max-width: 580px; margin-bottom: 17px; }
.hot { display: inline-block; background: var(--white); border: 1px solid var(--line);
  color: var(--coral-deep); font-weight: 700; font-size: 0.92rem;
  padding: 8px 17px; border-radius: 999px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.hero-actions { margin-bottom: 24px; }
.hero-actions .cta-btn { font-size: 1.06rem; padding: 15px 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); color: var(--ink);
  font-size: 0.86rem; font-weight: 600; padding: 9px 13px; border-radius: 999px; }
.trust-row svg { width: 15px; height: 15px; color: var(--foam); flex: 0 0 auto; }

.hero-visual { display: flex; justify-content: center; }
.hero-visual svg.drop { width: min(230px, 62vw); filter: drop-shadow(0 18px 28px rgba(30, 92, 110, 0.22)); }

/* ============ Section shell ============ */
section { padding: 58px 0; }
section#benefits, section#how, section#ingredients, section#about, section#faq { scroll-margin-top: 74px; }
section:nth-of-type(even) { background: var(--white); }
section:nth-of-type(odd) { background: var(--air); }

.sec-head { max-width: 660px; margin-bottom: 34px; }
.kicker { display: inline-block; color: var(--coral-deep); font-weight: 800; font-size: 0.76rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 9px;
  border-bottom: 2px solid var(--foam); padding-bottom: 4px; }
.sec-head h2 { font-size: 1.62rem; font-weight: 800; color: var(--sky-deep); margin-bottom: 10px; }
.sec-head h2, .sec-head h1 { line-height: 1.22; }
.sec-head p { color: var(--muted); }

/* ============ Benefits ============ */
.ben-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.ben-card { background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--foam); transition: transform 0.2s, box-shadow 0.2s; }
.ben-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ben-card .ic { width: 48px; height: 48px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; margin-bottom: 14px;
  background: var(--foam-soft); }
.ben-card .ic svg { width: 22px; height: 22px; color: var(--sky-deep); }
.ben-card h3 { font-size: 1.06rem; font-weight: 700; color: var(--sky-deep); margin-bottom: 6px; }
.ben-card p { color: var(--muted); font-size: 0.95rem; }

/* ============ How to use ============ */
.how-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.step { background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; position: relative; box-shadow: var(--shadow-sm); }
.step .num { width: 42px; height: 42px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-weight: 800; color: #fff;
  background: var(--grad-cta); font-size: 1.1rem; margin-bottom: 13px; box-shadow: var(--shadow-sm); }
.step h3 { font-size: 1.04rem; font-weight: 700; color: var(--sky-deep); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ============ Ingredients ============ */
.ing-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.ing-card { background: var(--white); border-radius: var(--radius); padding: 22px 24px;
  border-left: 4px solid var(--sky); box-shadow: var(--shadow-sm); }
.ing-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--sky-deep); margin-bottom: 6px; }
.ing-card p { color: var(--muted); font-size: 0.95rem; }
html[lang^="ar"] .ing-card { border-left: 1px solid var(--line); border-right: 4px solid var(--sky); }

/* ============ About split ============ */
.split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.split .sec-head { margin-bottom: 8px; }
.checklist { list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-weight: 600; color: var(--ink); }
.checklist li span { font-weight: 500; color: var(--ink); }
.checklist svg { width: 20px; height: 20px; color: var(--foam); flex: 0 0 auto; margin-top: 3px; }
.split .cta-btn { background: var(--grad-coral); margin-top: 22px; }

/* ============ Quote band ============ */
.quote { background: var(--grad-mist); text-align: center; }
.quote h2 { font-size: 1.55rem; font-weight: 800; color: var(--sky-deep);
  margin-bottom: 12px; max-width: 640px; }
.quote p { color: var(--ink); font-size: 1.06rem; max-width: 640px; margin: 0 auto 24px; }
.quote .cta-btn { background: var(--grad-coral); }

/* ============ FAQ ============ */
.faq-box { max-width: 740px; }
.faq-box details { background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-box summary { cursor: pointer; padding: 17px 20px; font-weight: 700;
  color: var(--sky-deep); list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 14px; }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box summary::after { content: "+"; font-size: 1.5rem; font-weight: 700;
  color: var(--coral); transition: transform 0.2s; flex: 0 0 auto; }
.faq-box details[open] summary::after { transform: rotate(45deg); }
.faq-box .a { padding: 0 20px 20px; color: var(--muted); font-size: 0.97rem; }

/* ============ CTA band ============ */
.cta-band { background: var(--grad-mist); text-align: center;
  background-image: radial-gradient(circle at 20% 20%, rgba(105, 205, 188, 0.26) 0, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 138, 107, 0.2) 0, transparent 45%),
    linear-gradient(150deg, #eaf8f5 0%, #e4f3fb 100%); }
.cta-band h2 { font-size: 1.65rem; font-weight: 800; color: var(--sky-deep); margin-bottom: 12px; }
.cta-band p { color: var(--ink); font-size: 1.06rem; max-width: 560px; margin: 0 auto 24px; }
.cta-band .cta-btn { background: var(--grad-coral); font-size: 1.06rem; padding: 15px 30px; }

/* ============ Footer ============ */
.site-footer { background: var(--sky-deep); color: #d6ecf2; padding: 46px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; margin-bottom: 26px; }
.footer-grid h4 { color: var(--foam); font-size: 0.9rem; letter-spacing: 0.09em;
  text-transform: uppercase; margin-bottom: 12px; }
.footer-grid p { color: #c2e0e8; font-size: 0.92rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #eaf6f8; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--foam); }
.footer-bot { border-top: 1px solid rgba(105, 205, 188, 0.32); padding-top: 18px;
  color: #a9ccd6; font-size: 0.85rem; }

.lang-block { margin-bottom: 24px; }
.lang-label { font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--foam); margin-bottom: 10px; }
.lang-list { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-link { display: inline-block; padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); color: #eef8fa; font-size: 0.9rem;
  font-weight: 600; }
.lang-link:hover { background: rgba(255, 255, 255, 0.18); }
.lang-link.active { background: var(--grad-coral); color: #fff; box-shadow: var(--shadow-sm); }

/* ============ Simple sub-pages ============ */
.simple { background: var(--white); }
.simple .wrap { max-width: 840px; }
.cta-wrapper { margin-top: 34px; }
.cta-wrapper .cta-btn { background: var(--grad-coral); }
.tip { background: var(--foam-soft); border: 1px solid var(--foam);
  border-radius: var(--radius); padding: 17px 19px; color: var(--sky-deep);
  font-weight: 600; font-size: 0.95rem; margin: 24px 0 4px; }

/* ============ Tablet & desktop ============ */
@media (min-width: 640px) {
  .hero { padding: 68px 0 76px; }
  .hero-in { grid-template-columns: 1.15fr 0.85fr; gap: 44px; }
  h1 { font-size: 2.7rem; }
  .ben-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .ing-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
  section { padding: 76px 0; }
}

@media (min-width: 960px) {
  .ben-grid { grid-template-columns: repeat(3, 1fr); }
  .ing-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-visual svg.drop { width: 300px; }
}

/* ============ Mobile nav ============ */
@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .header-in { position: relative; }
  .nav { display: none; flex-direction: column; width: 100%; gap: 4px;
    padding: 10px 0 16px; }
  .nav.open { display: flex; }
  .nav a { width: 100%; text-align: left; padding: 12px 14px; }
  .nav .cta-btn { width: 100%; text-align: center; margin-top: 6px; }
}

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