/* ===== Colors & base ===== */
:root {
  --navy: #1c2b45;
  --navy-soft: #2c3f60;
  --gold: #a8823c;
  --bg: #faf8f4;
  --card: #ffffff;
  --text: #1f2328;
  --muted: #555b66;
  --line: #e4ded3;
  --whatsapp: #1e8e4e;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  font-size: 19px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 84px; /* room for the mobile contact bar */
}

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

a { color: var(--navy); }

.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
  background: var(--navy);
  color: #fff;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px;
}
.brand { font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; }
.lang-switch {
  color: #fff; text-decoration: none; font-size: 17px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 4px 16px;
}
.lang-switch:hover { background: rgba(255,255,255,.12); }

/* ===== Hero ===== */
.hero { background: var(--navy); color: #fff; padding: 36px 0 56px; }
.hero .container {
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center;
}
.hero-photo {
  width: 220px; height: 220px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--gold); background: var(--navy-soft); margin: 0 auto;
}
.hero h1 { font-size: 36px; line-height: 1.4; margin: 0 0 6px; }
.hero .title { color: #e6cf9f; font-size: 21px; margin: 0 0 14px; font-weight: 600; }
.hero .lead { font-size: 20px; margin: 0 0 26px; color: #eef1f6; }
.hero-text { text-align: center; }

@media (min-width: 820px) {
  .hero .container { grid-template-columns: 260px 1fr; }
  .hero-photo { width: 250px; height: 250px; }
  .hero-text { text-align: start; }
}

/* ===== Buttons ===== */
.buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (min-width: 820px) { .hero .buttons { justify-content: flex-start; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 28px; border-radius: 12px;
  font-size: 20px; font-weight: 700; text-decoration: none; font-family: inherit;
}
.btn svg { width: 24px; height: 24px; flex: none; }
.btn-call { background: #fff; color: var(--navy); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn:hover { filter: brightness(.95); }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}

/* ===== Sections ===== */
section { padding: 56px 0; }
section:nth-of-type(even) { background: #fff; }
h2 {
  font-size: 30px; color: var(--navy); margin: 0 0 24px;
  padding-bottom: 10px; border-bottom: 3px solid var(--gold); display: inline-block;
}

.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
}
section:nth-of-type(even) .card { background: var(--bg); }
.card h3 { margin: 0 0 6px; font-size: 22px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); }
.section-lead { margin: 0 0 18px; }

.about-grid { display: grid; gap: 28px; }
.about-grid > :only-child { grid-column: 1 / -1; max-width: 46em; }
@media (min-width: 820px) { .about-grid { grid-template-columns: 1.3fr 1fr; } }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts strong { color: var(--navy); }
.office-photo { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }

/* ===== FAQ ===== */
details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; padding: 0 22px;
}
summary {
  cursor: pointer; font-weight: 700; font-size: 20px; color: var(--navy);
  padding: 18px 0; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; display: inline-block; width: 28px; color: var(--gold); font-size: 24px; }
details[open] summary::before { content: "−"; }
details p { margin: 0 0 18px; color: var(--muted); }

/* ===== Contact ===== */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { font-size: 21px; font-weight: 700; text-decoration: none; }
.map {
  width: 100%; height: 340px; border: 0; border-radius: var(--radius);
  background: var(--line);
}
.contact-grid .buttons { justify-content: flex-start; }
.contact-grid .btn-call { background: var(--navy); color: #fff; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #cfd6e2; padding: 28px 0; font-size: 16px; }
.site-footer p { margin: 4px 0; }

/* ===== Mobile sticky contact bar ===== */
.contact-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
.contact-bar .btn { min-height: 56px; padding: 0 10px; font-size: 19px; }
.contact-bar .btn-call { background: var(--navy); color: #fff; }
@media (min-width: 820px) {
  .contact-bar { display: none; }
  body { padding-bottom: 0; }
}

.map-link { margin: 12px 0 0; }
.map-link a { font-weight: 700; font-size: 19px; }
.contact-list a.email { font-size: 18px; overflow-wrap: anywhere; }
