/* ==========================================================================
   Surdu Eden - one pager
   Font: Fonter Haruv
   ========================================================================== */

@font-face { font-family: "Haruv"; font-weight: 300; font-display: swap; src: url("../fonts/Fonter-Haruv-Light.woff2") format("woff2"); }
@font-face { font-family: "Haruv"; font-weight: 400; font-display: swap; src: url("../fonts/Fonter-Haruv-Regular.woff2") format("woff2"); }
@font-face { font-family: "Haruv"; font-weight: 500; font-display: swap; src: url("../fonts/Fonter-Haruv-Medium.woff2") format("woff2"); }
@font-face { font-family: "Haruv"; font-weight: 600; font-display: swap; src: url("../fonts/Fonter-Haruv-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Haruv"; font-weight: 700; font-display: swap; src: url("../fonts/Fonter-Haruv-Bold.woff2") format("woff2"); }
@font-face { font-family: "Haruv"; font-weight: 800; font-display: swap; src: url("../fonts/Fonter-Haruv-ExtraBold.woff2") format("woff2"); }

:root {
	--navy: #0f2a44;
	--navy-2: #173a5c;
	--blue: #2c69b0;       /* text-safe blue (AA on white) */
	--blue-dark: #1f5491;
	--sky: #52b1dd;        /* from the dove */
	--sky-soft: #e6f3fa;
	--bg: #ffffff;
	--bg-soft: #f4f8fb;
	--ink: #16232f;
	--ink-soft: #3b4a57;
	--muted: #5c6b78;
	--line: #dfe7ee;
	--ok: #1d7a4f;
	--err: #b3261e;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 18px 50px -20px rgba(15, 42, 68, .28);
	--shadow-sm: 0 6px 20px -10px rgba(15, 42, 68, .25);
	--font: "Haruv", "Segoe UI", Arial, sans-serif;
	--header-h: 84px;
	--container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
#main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: 820px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .92rem; font-weight: 700; color: var(--blue); letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--sky), var(--blue)); }

.section { padding-block: clamp(72px, 9vw, 120px); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-title { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 14px; }
.section-intro { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(44, 105, 176, .8); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost .icon { color: #25a244; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
/* Blur lives on a pseudo element: backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 42, 68, .5); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand img { width: 190px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 26px; list-style: none; }
.main-nav a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-weight: 500; position: relative; padding-block: 6px; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--sky); transform: scaleX(0); transition: transform .25s; }
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--navy); }
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta { padding: 10px 20px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.header-phone:hover { background: var(--sky-soft); color: var(--navy); }
.header-phone .icon { color: var(--blue); width: 1.1em; height: 1.1em; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.nav-toggle-bars { position: absolute; left: 12px; top: 22px; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: background-color .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); background:
	radial-gradient(900px 500px at 15% 10%, rgba(82, 177, 221, .16), transparent 60%),
	linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.hero-dove { position: absolute; width: min(560px, 60vw); inset-inline-end: -120px; top: -60px; opacity: .06; transform: scaleX(-1); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.05; margin-bottom: 22px; }
.hero-text { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--blue); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; background: linear-gradient(160deg, #dcebf6, #b9d8ee); box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-visual::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 220px 220px var(--radius) var(--radius); border: 2px solid rgba(82, 177, 221, .45); z-index: -1; }
.portrait-card { position: absolute; inset-inline-start: -28px; bottom: 36px; background: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.3; border-inline-start: 4px solid var(--sky); }
.portrait-card strong { color: var(--navy); font-size: 1.1rem; }
.portrait-card span { color: var(--muted); font-size: .9rem; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: #fff; padding-block: 34px; }
.trust .container { display: flex; align-items: center; gap: 28px; }
.trust-title { color: #9fd3ee; font-size: 1rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.trust-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-list li { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-size: .92rem; color: rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .04); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.prose p { color: var(--ink-soft); font-size: 1.08rem; }
.signature { margin-top: 26px; font-size: 1.5rem; font-weight: 300; color: var(--navy); display: flex; align-items: center; gap: 14px; }
.signature::before { content: ""; width: 40px; height: 1px; background: var(--navy); }
.about-stats { display: grid; gap: 14px; margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.about-stats div { background: var(--bg-soft); border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); }
.about-stats dt { font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1.1; }
.about-stats dd { margin: 4px 0 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.service-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--sky-soft), #d4e9f7); color: var(--blue); margin-bottom: 18px; }
.service-icon .icon { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Process ---------- */
.process { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; position: relative; overflow: hidden; }
.process .section-title { color: #fff; }
.process .eyebrow { color: #9fd3ee; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; inset-inline: 30px; height: 1px; background: linear-gradient(90deg, rgba(82, 177, 221, .1), rgba(82, 177, 221, .6), rgba(82, 177, 221, .1)); }
.step { position: relative; }
.step-num { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--navy); border: 1px solid rgba(82, 177, 221, .6); color: #9fd3ee; font-weight: 700; font-size: 1.1rem; margin-bottom: 20px; position: relative; }
.step h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: rgba(255, 255, 255, .75); margin: 0; }

/* ---------- Testimonials ---------- */
.testi-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.testi { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.testi-quote { width: 34px; height: 34px; color: var(--sky); margin-bottom: 12px; }
.testi blockquote { margin: 0 0 16px; }
.testi blockquote p { font-size: 1.05rem; color: var(--ink-soft); margin: 0; }
.testi-name { margin: 0; color: var(--muted); font-size: .95rem; }
.testi-name strong { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.area-card { margin-top: 28px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.area-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--blue); margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.area-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.area-card p { color: var(--ink-soft); margin: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(44, 105, 176, .35); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; color: var(--navy); font-size: 1.08rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { color: var(--blue); transition: transform .25s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq-answer p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 22px; margin-top: 34px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--blue); flex-shrink: 0; box-shadow: var(--shadow-sm); }
.ci-label { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; }
.contact-list a { font-weight: 700; color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.ci-sep { color: var(--muted); margin-inline: 6px; }
.nav-links { display: flex; gap: 14px; margin-top: 4px; }
.nav-links a { font-weight: 600 !important; color: var(--blue) !important; font-size: .95rem; }

.form-card { background: #fff; border-radius: 24px; padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-title { font-size: 1.5rem; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(82, 177, 221, .2); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field textarea { resize: vertical; min-height: 110px; }
.field-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-size: .95rem; color: var(--ink-soft); }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-status { margin-top: 14px; font-weight: 600; min-height: 1.5em; }
.form-status[data-state="ok"] { color: var(--ok); }
.form-status[data-state="error"] { color: var(--err); }
.contact-form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* ---------- Generic pages ---------- */
.page-hero { background: linear-gradient(180deg, var(--bg-soft), #fff); padding-block: 72px 32px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-body { padding-top: 24px; }
.entry h2 { font-size: 1.5rem; margin: 1.6em 0 .6em; }
.entry h3 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
.entry ul, .entry ol { padding-inline-start: 1.4em; margin-bottom: 1em; }
.entry li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding-top: 64px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-brand p { margin: 0; line-height: 1.8; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: #9fd3ee; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: rgba(255, 255, 255, .6); }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); transition: transform .2s, opacity .25s, visibility .25s; }
.js .wa-float:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(12px); }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.main-nav ul { gap: 18px; }
	.header-phone span { display: none; }
}

@media (max-width: 960px) {
	:root { --header-h: 70px; }
	.brand img { width: 150px; }
	.nav-toggle { display: block; }
	.header-actions { margin-inline-start: auto; }
	.main-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 18px; padding: 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
	.main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
	.main-nav ul { flex-direction: column; gap: 4px; }
	.main-nav a:not(.btn) { display: block; padding: 12px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
	.main-nav a:not(.btn)::after { display: none; }
	.header-phone span { display: inline; }

	.hero-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
	.hero-visual { order: -1; width: min(78%, 340px); }
	.hero-visual::before { inset: 16px -16px -16px 16px; }
	.portrait-card { inset-inline-start: auto; inset-inline-end: -14px; bottom: 20px; padding: 10px 16px; }
	.about-stats { position: static; grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
	.steps::before { display: none; }
	.trust .container { flex-direction: column; align-items: flex-start; gap: 16px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.container { padding-inline: 18px; }
	.header-phone span { display: none; }
	.service-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.about-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
	.about-stats div { padding: 16px; }
	.about-stats dt { font-size: 1.6rem; }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.hero-actions .btn { flex: 1 1 auto; }
	.footer-grid { grid-template-columns: 1fr; }
	.wa-float { width: 54px; height: 54px; inset-inline-end: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.site-header, .wa-float, .form-card, .hero-dove { display: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
