/* ================================================================
   STYLE.CSS — Dolores Perujo Abogada · lawyermijas.com
   Shared stylesheet for all pages
   ================================================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --navy-dark:    #071929;
  --navy:         #0D2645;
  --navy-light:   #163A6B;
  --gold:         #C9A84C;
  --gold-light:   #DDB96A;
  --white:        #FFFFFF;
  --off-white:    #F5F8FC;
  --light-gray:   #E8EEF5;
  --medium-gray:  #7A8BA0;
  --dark-text:    #111827;
  --body-text:    #374151;
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --shadow-sm:    0 2px 8px rgba(7,25,41,0.09);
  --shadow-md:    0 8px 30px rgba(7,25,41,0.14);
  --shadow-lg:    0 20px 60px rgba(7,25,41,0.20);
  --radius:       8px;
  --radius-lg:    16px;
  --transition:   all 0.3s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--body-text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--dark-text);
  line-height: 1.3;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- CONTAINERS & LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }

/* ---- SECTION HEADINGS ---- */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--body-text);
  max-width: 580px;
  line-height: 1.8;
}
.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--navy-dark);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
}
.nav-logo .name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.nav-logo .title {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius);
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--gold);
  color: var(--navy-dark);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}

/* ================================================================
   HERO — Full height (index page)
   ================================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 72% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(22,58,107,0.35) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero .container {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-item { display: flex; flex-direction: column; }
.trust-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.trust-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  margin-top: 4px;
}
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image-card {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-card-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-card-badge .icon {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
}
.hero-card-badge .text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-text);
}
.hero-card-badge .text span {
  font-size: 0.75rem;
  color: var(--medium-gray);
}
.hero-card-badge2 {
  position: absolute;
  top: 20px; right: -20px;
  background: var(--gold);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}
.hero-card-badge2 strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-dark);
}
.hero-card-badge2 span {
  font-size: 0.7rem;
  color: rgba(7,25,41,0.75);
}

/* ================================================================
   PAGE HERO — 50vh for service pages
   ================================================================ */
.page-hero {
  height: 50vh;
  min-height: 320px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-bottom: 56px;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(22,58,107,0.3) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 100px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.6);
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep {
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
}
.breadcrumb .current { color: var(--gold); }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  max-width: 700px;
}
.page-hero h1 span { color: var(--gold); }
.page-hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-top: 14px;
  max-width: 560px;
  line-height: 1.7;
}

/* ================================================================
   SERVICES GRID & CARDS
   ================================================================ */
.services { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13,38,69,0.07);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.service-link:hover { color: var(--gold); gap: 10px; }

/* ================================================================
   ABOUT SECTION
   ================================================================ */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images {
  position: relative;
  padding-bottom: 40px;
}
.about-img-main {
  width: 75%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 48%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
}
.about-experience-badge {
  position: absolute;
  top: 30px; right: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-experience-badge .years {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.about-experience-badge .label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}
.about-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 32px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}
.about-list li::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.team-mini {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--light-gray);
  flex-wrap: wrap;
}
.team-member {
  display: flex;
  align-items: center;
  gap: 12px;
}
.team-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--gold);
}
.team-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-text);
}
.team-info span {
  font-size: 0.78rem;
  color: var(--medium-gray);
}

/* ================================================================
   WHY US — DARK SECTION
   ================================================================ */
.why-us {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  top: -40%; right: -8%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.why-us .section-title { color: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}
.why-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ================================================================
   CONTACT SECTION & FORM
   ================================================================ */
.contact { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.contact-item-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--medium-gray);
  margin-bottom: 4px;
}
.contact-item-text a,
.contact-item-text span {
  font-size: 0.95rem;
  color: var(--dark-text);
  font-weight: 500;
}
.contact-item-text a:hover { color: var(--navy); }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-form-card > p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-text);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark-text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13,38,69,0.09);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%237A8BA0' stroke-width='1.5' stroke-linecap='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 0.88rem;
}
.form-privacy {
  font-size: 0.78rem;
  color: var(--medium-gray);
  text-align: center;
  margin-top: 12px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 28px 24px;
}
.form-success.show { display: block; }
.form-success i {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 12px;
  display: block;
}
.form-success strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--dark-text);
}
.form-success p {
  font-size: 0.9rem;
  color: var(--body-text);
  margin-top: 8px;
}

/* ================================================================
   MAP
   ================================================================ */
.map-section { height: 380px; }
.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--navy-dark);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand .name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-brand .tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  line-height: 1.7;
}
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--gold);
  color: var(--navy-dark);
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-contact-item i {
  color: var(--gold);
  font-size: 0.82rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ================================================================
   WHATSAPP FLOAT BUTTON
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 6px 25px rgba(37,211,102,0.45);
  z-index: 998;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 35px rgba(37,211,102,0.55);
}
.whatsapp-float .tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark-text);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.whatsapp-float:hover .tooltip { opacity: 1; }

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px; left: 32px;
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  z-index: 997;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* ================================================================
   REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================================
   FAQ ACCORDION
   ================================================================ */
.faq-section { background: var(--off-white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open {
  border-color: rgba(13,38,69,0.2);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-text);
  transition: var(--transition);
}
.faq-question:hover { color: var(--navy); }
.faq-item.open .faq-question { color: var(--navy); }
.faq-question .faq-icon {
  width: 28px; height: 28px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--navy);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-question .faq-icon {
  background: var(--navy);
  color: var(--gold);
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--body-text);
  border-top: 1px solid var(--light-gray);
  padding-top: 16px;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ================================================================
   AREAS GRID
   ================================================================ */
.areas-section { background: var(--white); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: var(--transition);
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--gold);
}
.area-card .area-icon {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 12px;
  transition: var(--transition);
}
.area-card:hover .area-icon { color: var(--gold); }
.area-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 6px;
}
.area-card p {
  font-size: 0.82rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ---- LOCAL SEO KEYWORD BLOCK ---- */
.local-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--light-gray);
}
.local-seo-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.local-seo-item p {
  font-size: 0.88rem;
  color: var(--body-text);
  line-height: 1.75;
}
@media (max-width: 1024px) {
  .local-seo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .local-seo-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   SERVICE PAGE — INTRO SECTION
   ================================================================ */
.intro-section { background: var(--white); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.intro-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark-text);
}
.intro-text p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--body-text);
  margin-bottom: 16px;
}
.intro-text .cta-block {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ================================================================
   SERVICE ICONS LIST
   ================================================================ */
.services-list-section { background: var(--off-white); }
.services-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.services-icon-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13,38,69,0.06);
  transition: var(--transition);
}
.services-icon-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.services-icon-item .icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 auto 16px;
}
.services-icon-item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.4;
}

/* ================================================================
   PROCESS SECTION
   ================================================================ */
.process-section { background: var(--white); }
.process-steps {
  display: flex;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 32px; right: 32px;
  height: 2px;
  background: var(--light-gray);
  z-index: 0;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 64px; height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(13,38,69,0.2);
}
.process-step h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.82rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .services-icon-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { flex-wrap: wrap; gap: 32px; }
  .process-steps::before { display: none; }
  .process-step { flex: 0 0 calc(50% - 16px); }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 90px;
  }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-badge { margin: 0 auto 24px; }
  .hero-image-wrap { order: -1; }
  .hero-image-card { max-width: 280px; }
  .hero-card-badge { left: 0; bottom: -15px; }
  .hero-card-badge2 { right: 0; top: 10px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .services-icon-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { height: auto; min-height: auto; padding: 120px 0 60px; }
}

@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .contact-form-card { padding: 24px; }
  .whatsapp-float { bottom: 20px; right: 20px; }
  .back-to-top { bottom: 20px; left: 20px; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .services-icon-grid { grid-template-columns: 1fr 1fr; }
  .process-step { flex: 0 0 100%; }
}
