/*
Theme Name: Driouch Translator
Theme URI: https://www.salmanedriouch.ma
Author: Maître Salmane DRIOUCH
Description: A clean, modern one-page professional theme for Maître Salmane DRIOUCH, Sworn Translator Arabic-English, Marrakech. All content pre-filled. Edit via Appearance → Customize.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: driouch-translator
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Outfit:wght@300;400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

:root {
  --color-primary: #111111;
  --color-accent:  #C17F3B;
  --color-bg:      #FFFFFF;
  --color-cream:   #FAF9F7;
  --color-border:  #E5E5E5;
  --color-muted:   #888888;
  --color-soft:    #333333;
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Outfit', system-ui, sans-serif;
  --radius:        4px;
  --max-width:     1160px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-primary);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}
p { color: var(--color-soft); line-height: 1.8; font-weight: 300; }

/* BUTTONS */
.btn-primary {
  display: inline-block; background: var(--color-primary); color: #fff;
  padding: 0.9rem 2.4rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.03em; border: none; cursor: pointer;
  transition: background 0.18s, transform 0.15s;
}
.btn-primary:hover { background: var(--color-soft); transform: translateY(-1px); color: #fff; }

.btn-outline {
  display: inline-block; background: transparent; color: var(--color-primary);
  padding: 0.88rem 2.2rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 400;
  letter-spacing: 0.03em; border: 1.5px solid var(--color-primary);
  cursor: pointer; transition: all 0.18s;
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-white {
  display: inline-block; background: #fff; color: var(--color-primary);
  padding: 0.85rem 2rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.03em; transition: background 0.18s;
}
.btn-white:hover { background: #f0ede8; }

.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: #fff; padding: 0.83rem 1.75rem;
  border-radius: var(--radius); font-size: 0.82rem; font-weight: 400;
  border: 1.5px solid rgba(255,255,255,0.35); transition: border-color 0.18s; letter-spacing: 0.03em;
}
.btn-ghost-white:hover { border-color: #fff; color: #fff; }

.section-tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--color-accent); font-weight: 500; margin-bottom: 0.75rem;
}

/* NAVBAR */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; height: 72px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#site-header.scrolled { border-color: var(--color-border); box-shadow: 0 1px 16px rgba(0,0,0,0.06); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem;
}
.site-branding a { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 500; color: var(--color-primary); line-height: 1.2; }
.site-branding .tagline {
  display: block; font-family: var(--font-body); font-size: 0.62rem;
  font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-muted); margin-top: 1px;
}
#primary-navigation ul { display: flex; gap: 0.15rem; }
#primary-navigation a {
  font-size: 0.82rem; font-weight: 400; color: var(--color-soft);
  padding: 0.5rem 0.9rem; border-radius: 3px; transition: color 0.18s; display: block;
}
#primary-navigation a:hover { color: var(--color-primary); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-tel { font-size: 0.78rem; color: var(--color-muted); transition: color 0.18s; }
.header-tel:hover { color: var(--color-primary); }
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; color: var(--color-primary);
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; transition: all 0.2s; }

/* HERO */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 10rem 2rem 6rem; position: relative;
  background: var(--color-cream); border-bottom: 1px solid var(--color-border); overflow: hidden;
}
.hero-bg-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.06) 1px, transparent 0);
  background-size: 28px 28px; opacity: 0.5; pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--color-accent); margin-bottom: 2.5rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: inline-block; width: 28px; height: 1px;
  background: var(--color-accent); opacity: 0.6;
}
.hero-title {
  font-size: clamp(3.2rem, 8vw, 7.5rem); font-weight: 500; line-height: 1.0;
  color: var(--color-primary); margin-bottom: 0.4rem;
}
.hero-title em { font-style: italic; font-weight: 400; }
.hero-subtitle {
  font-family: var(--font-heading); font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  font-weight: 400; font-style: italic; color: var(--color-muted); margin-bottom: 3rem;
}
.hero-lang {
  display: inline-flex; align-items: center; gap: 1rem;
  border: 1px solid var(--color-border); border-radius: 50px;
  padding: 0.6rem 1.75rem; margin-bottom: 3rem;
  font-size: 0.82rem; font-weight: 500; color: var(--color-soft);
  background: #fff; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-lang .sep { color: var(--color-accent); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 5rem; }
.hero-stats {
  display: flex; border: 1px solid var(--color-border);
  border-radius: var(--radius); background: #fff; overflow: hidden;
}
.hero-stat { padding: 1.25rem 2.5rem; text-align: center; border-right: 1px solid var(--color-border); }
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-heading); font-size: 1.9rem; font-weight: 500;
  color: var(--color-primary); line-height: 1; display: block; margin-bottom: 0.25rem;
}
.hero-stat-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted); }

/* SERVICES */
#services { background: #fff; }
.services-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 5rem 2.5rem 3rem; border-bottom: 1px solid var(--color-border);
  max-width: var(--max-width); margin: 0 auto; gap: 2rem;
}
.services-title { font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 500; max-width: 540px; }
.services-title em { font-style: italic; font-weight: 400; color: var(--color-accent); }
.services-intro-text { font-size: 0.88rem; line-height: 1.8; max-width: 340px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--max-width); margin: 0 auto; }
.service-card {
  padding: 2.5rem; border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border); transition: background 0.22s;
}
.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-child(4), .service-card:nth-child(5) { border-bottom: none; }
.service-card:hover { background: var(--color-cream); }
.service-num { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 1.5rem; display: block; }
.service-card h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.9rem; }
.service-card p { font-size: 0.83rem; margin-bottom: 1.75rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-primary); border-bottom: 1px solid var(--color-primary);
  padding-bottom: 2px; transition: gap 0.18s, color 0.18s, border-color 0.18s;
}
.service-card:hover .service-link { gap: 0.8rem; color: var(--color-accent); border-color: var(--color-accent); }

/* ABOUT */
#about { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--max-width); margin: 0 auto; min-height: 520px; }
.about-left { padding: 5rem 2.5rem; border-right: 1px solid var(--color-border); display: flex; flex-direction: column; justify-content: space-between; }
.about-left h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 500; margin-bottom: 2.5rem; }
.about-left h2 em { font-style: italic; color: var(--color-accent); }
.about-body p { margin-bottom: 1.1rem; font-size: 0.9rem; }
.about-body strong { font-weight: 500; color: var(--color-primary); }
.about-cta { margin-top: 3rem; }
.about-right { display: flex; flex-direction: column; }
.about-feat { flex: 1; padding: 3rem 2.5rem; border-bottom: 1px solid var(--color-border); display: flex; flex-direction: column; justify-content: center; }
.about-feat:last-child { border-bottom: none; }
.about-feat-num { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 400; color: var(--color-border); line-height: 1; margin-bottom: 0.5rem; }
.about-feat-label { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 0.75rem; }
.about-feat h3 { font-size: 1.45rem; font-weight: 500; margin-bottom: 0.6rem; }
.about-feat p { font-size: 0.83rem; }

/* PROCESS */
#process { background: var(--color-cream); border-bottom: 1px solid var(--color-border); }
.process-inner { max-width: var(--max-width); margin: 0 auto; padding: 5rem 2.5rem; }
.process-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 4rem; gap: 2rem; }
.process-header h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 500; }
.process-header h2 em { font-style: italic; color: var(--color-accent); }
.process-header p { font-size: 0.85rem; max-width: 300px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.process-step { padding: 2.25rem 2rem; border-right: 1px solid var(--color-border); }
.process-step:last-child { border-right: none; }
.step-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 400; color: var(--color-border); line-height: 1; margin-bottom: 1.25rem; }
.process-step h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.6rem; }
.process-step p { font-size: 0.8rem; }

/* CREDENTIALS */
#credentials { background: #fff; border-bottom: 1px solid var(--color-border); }
.credentials-inner { max-width: var(--max-width); margin: 0 auto; padding: 5rem 2.5rem; }
.credentials-inner > h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 500; margin-bottom: 3.5rem; }
.credentials-inner > h2 em { font-style: italic; color: var(--color-accent); }
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.cred-card { padding: 2.25rem; border-right: 1px solid var(--color-border); }
.cred-card:last-child { border-right: none; background: var(--color-primary); }
.cred-card-label { font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-muted); margin-bottom: 1.25rem; }
.cred-card h3 { font-size: 1.1rem; font-weight: 500; line-height: 1.35; margin-bottom: 0.5rem; }
.cred-card .school { font-size: 0.78rem; color: var(--color-accent); font-weight: 500; margin-bottom: 0.75rem; }
.cred-card p { font-size: 0.8rem; }
.cred-card:last-child .cred-card-label { color: rgba(255,255,255,0.4); }
.cred-card:last-child h3 { color: #fff; font-size: 1.3rem; }
.cred-card:last-child p { color: rgba(255,255,255,0.6); }
.cred-badge { display: inline-block; background: var(--color-accent); color: #fff; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.85rem; border-radius: 50px; margin-bottom: 1rem; }

/* FAQ */
#faq { background: var(--color-cream); border-bottom: 1px solid var(--color-border); }
.faq-inner { max-width: var(--max-width); margin: 0 auto; padding: 5rem 2.5rem; }
.faq-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3.5rem; gap: 2rem; }
.faq-header h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 500; }
.faq-header h2 em { font-style: italic; color: var(--color-accent); }
.faq-list { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 2rem; cursor: pointer; font-size: 0.92rem; font-weight: 500; color: var(--color-primary); transition: background 0.15s; user-select: none; width: 100%; background: none; border: none; text-align: left; font-family: var(--font-body); }
.faq-question:hover { background: var(--color-cream); }
.faq-icon { width: 28px; height: 28px; border: 1.5px solid var(--color-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.22s; color: var(--color-muted); }
.faq-icon svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; transition: transform 0.22s; }
.faq-item.open .faq-icon { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 1.25rem 2rem 1.5rem; font-size: 0.85rem; color: var(--color-muted); line-height: 1.8; border-top: 1px solid var(--color-border); }

/* CTA BANNER */
#cta-banner { background: var(--color-primary); padding: 4rem 2.5rem; }
.cta-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 500; color: #fff; line-height: 1.2; }
.cta-inner h2 em { font-style: italic; color: rgba(255,255,255,0.55); }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* CONTACT */
#contact { border-bottom: 1px solid var(--color-border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--max-width); margin: 0 auto; min-height: 600px; }
.contact-info { padding: 5rem 2.5rem; border-right: 1px solid var(--color-border); }
.contact-info h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 500; margin-bottom: 3rem; }
.contact-info h2 em { font-style: italic; color: var(--color-accent); }
.contact-detail { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--color-border); }
.contact-detail:first-of-type { border-top: 1px solid var(--color-border); }
.contact-detail-icon { width: 36px; height: 36px; border: 1.5px solid var(--color-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.contact-detail-icon svg { width: 14px; height: 14px; stroke: var(--color-soft); fill: none; stroke-width: 1.7; stroke-linecap: round; }
.contact-detail-label { font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted); margin-bottom: 0.25rem; font-weight: 500; }
.contact-detail-value { font-size: 0.88rem; color: var(--color-primary); line-height: 1.5; }
.contact-detail-value a { color: inherit; }
.contact-detail-value a:hover { color: var(--color-accent); }
.contact-map { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); height: 200px; }
.contact-map iframe { width: 100%; height: 100%; border: none; display: block; }
.contact-form-wrap { padding: 5rem 2.5rem; }
.contact-form-wrap h3 { font-size: 1.75rem; font-weight: 500; margin-bottom: 0.4rem; font-family: var(--font-heading); }
.contact-form-wrap > p { font-size: 0.82rem; margin-bottom: 2.25rem; }
label { display: block; font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted); font-weight: 500; margin-bottom: 0.45rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--color-border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 0.87rem;
  color: var(--color-primary); background: #fff; outline: none;
  transition: border-color 0.18s; -webkit-appearance: none; margin-bottom: 1rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--color-primary); }
textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input[type="submit"] {
  width: 100%; padding: 0.95rem; background: var(--color-primary); color: #fff;
  border: none; border-radius: var(--radius); font-family: var(--font-body);
  font-size: 0.87rem; font-weight: 500; cursor: pointer; letter-spacing: 0.04em; transition: background 0.18s;
}
input[type="submit"]:hover { background: var(--color-soft); }
.form-note { font-size: 0.7rem; color: var(--color-muted); text-align: center; margin-top: 0.75rem; }

/* FOOTER */
#site-footer { background: var(--color-primary); padding: 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: var(--max-width); margin: 0 auto; padding: 3.5rem 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand-name { font-family: var(--font-heading); font-size: 1.15rem; color: #fff; margin-bottom: 0.3rem; font-weight: 500; }
.footer-brand-tagline { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1.25rem; }
.footer-brand-desc { font-size: 0.8rem; color: rgba(255,255,255,0.42); line-height: 1.7; max-width: 280px; }
.footer-col-title { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.35); margin-bottom: 1.25rem; }
.footer-nav a { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.55); padding: 0.25rem 0; transition: color 0.18s; }
.footer-nav a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.7rem; }
.footer-contact-item svg { width: 13px; height: 13px; stroke: rgba(255,255,255,0.35); fill: none; stroke-width: 1.7; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a, .footer-contact-item span { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.5; transition: color 0.18s; }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; max-width: var(--max-width); margin: 0 auto; padding: 1.5rem 2.5rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.footer-credit a { font-size: 0.72rem; color: rgba(255,255,255,0.4); transition: color 0.18s; }
.footer-credit a:hover { color: #fff; }

/* ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1.25rem 0.75rem 0.9rem;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  color: #fff;
}
.whatsapp-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: #fff;
}
.whatsapp-float-label {
  white-space: nowrap;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.35); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.6); }
}

/* Hide label on very small screens, keep icon only */
@media (max-width: 400px) {
  .whatsapp-float { padding: 0.75rem; border-radius: 50%; }
  .whatsapp-float-label { display: none; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  #primary-navigation { display: none; }
  .menu-toggle { display: block; }
  #primary-navigation.open {
    display: block; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 1.25rem; z-index: 199;
  }
  #primary-navigation.open ul { flex-direction: column; gap: 0; }
  #primary-navigation.open a { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--color-border); font-size: 0.9rem; }
  #primary-navigation.open li:last-child a { border-bottom: none; }
  /* Hide phone in header on tablet/mobile — it's in the footer */
  .header-tel { display: none; }
  .services-header, .process-header, .faq-header { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--color-border); }
  .service-card:nth-child(2n) { border-right: none; }
}

@media (max-width: 768px) {
  /* ── NAVBAR ── */
  .header-inner { padding: 0 1rem; gap: 0.5rem; }
  .site-branding a { font-size: 0.88rem; }
  .site-branding .tagline { display: none; } /* hide tagline on mobile — too much text */
  .header-cta .btn-primary {
    padding: 0.45rem 0.9rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .header-tel { display: none; }

  /* ── HERO ── */
  #hero { padding: 7rem 1.25rem 4rem; }
  .hero-title { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-eyebrow { font-size: 0.62rem; letter-spacing: 0.1em; text-align: center; }
  .hero-lang { padding: 0.5rem 1.25rem; font-size: 0.75rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: 0.75rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; max-width: 300px; text-align: center; justify-content: center; }
  .hero-stats { flex-wrap: wrap; width: 100%; }
  .hero-stat { flex: 1 1 45%; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 1rem; }
  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat:nth-child(n+3) { border-bottom: none; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.6rem; }

  /* ── LAYOUT ── */
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-left { border-right: none; border-bottom: 1px solid var(--color-border); }
  .contact-info { border-right: none; border-bottom: 1px solid var(--color-border); }
  .services-header, .process-inner, .credentials-inner, .faq-inner { padding: 3rem 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(n) { border-right: none; border-bottom: 1px solid var(--color-border); }
  .service-card:last-child { border-bottom: none; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2n) { border-right: none; }
  .process-step:nth-child(n+3) { border-top: 1px solid var(--color-border); }
  .cred-grid { grid-template-columns: 1fr; }
  .cred-card { border-right: none; border-bottom: 1px solid var(--color-border); }
  .cred-card:last-child { border-bottom: none; }
  #cta-banner { padding: 3rem 1.25rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn-white,
  .cta-actions .btn-ghost-white { width: 100%; text-align: center; justify-content: center; }
  .footer-main { grid-template-columns: 1fr; padding: 3rem 1.25rem; }
  .footer-bottom { padding: 1.5rem 1.25rem; }
  .contact-info, .contact-form-wrap { padding: 3rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .about-left, .about-feat, .process-step { padding: 2rem 1.25rem; }
  .services-header { padding: 3rem 1.25rem 2rem; }
  .faq-question { padding: 1.25rem 1.25rem; font-size: 0.85rem; }
  .faq-answer-inner { padding: 1rem 1.25rem 1.25rem; }
}
