/* ==========================================================================
   Ethernov — "Luxury Mediterranean" design system
   Deep navy / white / warm gold. Playfair Display (headings) + Inter (body).
   Mobile-first, no framework, minimal specificity, low CLS.
   ========================================================================== */

:root {
  --navy: #0b2340;
  --navy-dark: #071627;
  --navy-soft: #12335c;
  --gold: #b98d3e;
  --gold-light: #e3c98a;
  --white: #ffffff;
  --ivory: #faf7f1;
  --ink: #16233a;
  --muted: #5c6b80;
  --border: #e4e0d6;
  --success-bg: #eef7f0;
  --success-text: #1f6d3a;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --container-narrow: 760px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(11, 35, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 35, 64, 0.16);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink); }
a { color: inherit; text-decoration: none; }

.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }

/* --------------------------------------------------------------------- */
/* Layout                                                                 */
/* --------------------------------------------------------------------- */

.section { padding: 4.5rem 0; }
.section-alt { background: var(--ivory); }
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-inner.narrow { max-width: var(--container-narrow); }

.grid { display: grid; gap: 1.75rem; margin-top: 2rem; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-services { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-gallery { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-blog { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* --------------------------------------------------------------------- */
/* Buttons                                                                */
/* --------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-light); box-shadow: var(--shadow); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: var(--navy-soft); }
.btn-whatsapp { background: #25d366; color: #04310f; }
.btn-whatsapp:hover { background: #1ebe5a; box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 1em 2em; font-size: 1rem; }
.btn-sm { padding: 0.5em 1.1em; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; margin-bottom: 0.75rem; }

/* --------------------------------------------------------------------- */
/* Header / Nav                                                           */
/* --------------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy); }

.nav { display: none; gap: 1.75rem; }
.nav a { font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.nav a:hover { color: var(--gold); }

.topbar-actions { display: flex; align-items: center; gap: 0.9rem; }

.lang-switch { position: relative; }
.lang-current {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.45em 0.8em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  cursor: pointer;
}
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 140px;
  overflow: hidden;
}
.lang-menu.open { display: block; }
.lang-menu a { display: block; padding: 0.6em 1em; font-size: 0.9rem; }
.lang-menu a:hover { background: var(--ivory); }
.lang-menu a.active { color: var(--gold); font-weight: 600; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--navy); border-radius: 2px; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile nav dropdown (JS-toggled) */
.nav.nav-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

/* --------------------------------------------------------------------- */
/* Hero                                                                   */
/* --------------------------------------------------------------------- */

.hero { position: relative; color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Strong, deliberate scrim so hero text stays readable regardless of the
     underlying photo's brightness — darkest at the bottom-left where the
     heading/CTA text sits, still shaped by a top-to-bottom gradient.
     Sits above the photo (z-index 1) but BELOW .hero-inner (z-index 2) —
     without that ordering this scrim paints over the text itself (since
     ::after is generated after .hero-inner in paint order), muddying
     white text instead of just darkening the background behind it. */
  background:
    linear-gradient(90deg, rgba(5, 15, 28, 0.78) 0%, rgba(5, 15, 28, 0.45) 55%, rgba(5, 15, 28, 0.25) 100%),
    linear-gradient(180deg, rgba(5, 15, 28, 0.5) 0%, rgba(5, 15, 28, 0.72) 60%, rgba(5, 15, 28, 0.86) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 6.5rem 1.5rem 5rem;
}
.hero-home .hero-inner { padding: 8rem 1.5rem 6rem; max-width: 720px; }
.kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.hero h1 { color: var(--white); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); }
.hero-text { color: rgba(255, 255, 255, 0.95); font-size: 1.1rem; max-width: 56ch; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.hero-actions .btn-outline { border-color: var(--white); color: var(--white); }
.hero-actions .btn-outline:hover { background: var(--white); color: var(--navy); }

.page-hero { background: var(--ivory); padding: 3rem 0 2.5rem; }
.page-hero h1 { margin-top: 0.75rem; }
.page-hero-media { background: linear-gradient(180deg, var(--ivory) 0%, var(--white) 100%); }

/* --------------------------------------------------------------------- */
/* Breadcrumbs                                                           */
/* --------------------------------------------------------------------- */

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: var(--border); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current="page"] { color: var(--navy); font-weight: 600; }

/* --------------------------------------------------------------------- */
/* Feature / value cards                                                  */
/* --------------------------------------------------------------------- */

.feature { padding: 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.section-alt .feature { background: var(--white); }

/* --------------------------------------------------------------------- */
/* Service / blog cards                                                   */
/* --------------------------------------------------------------------- */

.card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-body h3 { margin-bottom: 0.4rem; }
.card-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.read-more { color: var(--gold); font-weight: 600; font-size: 0.9rem; }

.region-card {
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--ivory);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* --------------------------------------------------------------------- */
/* How-it-works steps                                                     */
/* --------------------------------------------------------------------- */

.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { position: relative; padding-left: 3.25rem; }
.step-number {
  position: absolute;
  left: 0; top: 0;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}

/* --------------------------------------------------------------------- */
/* Trust band / testimonials note                                         */
/* --------------------------------------------------------------------- */

.trust-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.85rem; }
.trust-list li { padding-left: 1.75rem; position: relative; color: var(--ink); }
.trust-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-weight: 700;
}
.testimonials-note, .editorial-note {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------- */
/* Service / landing detail                                               */
/* --------------------------------------------------------------------- */

.service-detail-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
.service-detail-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.65rem; }
.check-list li { padding-left: 1.6rem; position: relative; }
.check-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.service-secondary { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }

@media (min-width: 860px) {
  .service-detail-grid { grid-template-columns: 1fr 1fr; }
}

.related-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.related-link {
  display: inline-block;
  padding: 0.6em 1.1em;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--white);
}
.related-link:hover { border-color: var(--gold); color: var(--gold); }

/* --------------------------------------------------------------------- */
/* About                                                                  */
/* --------------------------------------------------------------------- */

.about-body p { font-size: 1.05rem; }

/* --------------------------------------------------------------------- */
/* FAQ                                                                    */
/* --------------------------------------------------------------------- */

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0.85rem 0 0; color: var(--muted); }

/* --------------------------------------------------------------------- */
/* CTA band                                                               */
/* --------------------------------------------------------------------- */

.cta-band { background: var(--navy); color: var(--white); }
.cta-band-inner { text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0 auto 1.75rem; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* --------------------------------------------------------------------- */
/* Contact                                                                */
/* --------------------------------------------------------------------- */

.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr 1fr; } }

.contact-form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.contact-form label { display: grid; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; min-width: 0; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-row > * { min-width: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-success {
  background: var(--success-bg);
  color: var(--success-text);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  margin-top: 1.5rem;
}
.form-error {
  background: #fdecec;
  color: #a12f2f;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
}
.contact-direct { background: var(--ivory); border-radius: var(--radius); padding: 2rem; align-self: start; }
.contact-direct h2 { margin-bottom: 1.25rem; }
.contact-address { margin-top: 1rem; color: var(--muted); font-size: 0.95rem; }

/* --------------------------------------------------------------------- */
/* WhatsApp float                                                         */
/* --------------------------------------------------------------------- */

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: var(--white);
  padding: 0.8rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}
.whatsapp-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.whatsapp-label { display: none; font-weight: 600; font-size: 0.9rem; padding-right: 0.4rem; }
@media (min-width: 640px) { .whatsapp-label { display: inline; } }

/* --------------------------------------------------------------------- */
/* Blog post                                                              */
/* --------------------------------------------------------------------- */

.blog-post-hero { text-align: left; }
.post-date { color: var(--muted); font-size: 0.9rem; }
.blog-post-media { margin: -1rem auto 0; }
.blog-post-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.blog-post-body p { font-size: 1.05rem; }

/* --------------------------------------------------------------------- */
/* Footer                                                                 */
/* --------------------------------------------------------------------- */

.footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.85); padding: 4rem 0 0; }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-logo {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  padding: 4px;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; max-width: 30ch; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.footer-social a { font-size: 0.85rem; color: var(--gold-light); font-weight: 600; }
.footer-social a:hover { color: var(--gold); }

.footer-col h3 { color: var(--white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-body); margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; margin-bottom: 0.6rem; }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  align-items: center;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; justify-content: center; }
.footer-legal a { color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; }
.footer-legal a:hover { color: var(--gold-light); }

.legal-body h2 { margin-top: 2rem; }
.legal-body p { color: var(--muted); }

/* --------------------------------------------------------------------- */
/* 404                                                                    */
/* --------------------------------------------------------------------- */

.not-found { text-align: center; padding: 6rem 0; }
.not-found .btn { margin-top: 1rem; }
