/*
Theme Name: Cerrajeros Ribarroja
Theme URI: https://cerrajerosribarrojadelturia.es/
Author: Cerrajeros Ribarroja del Turia
Author URI: https://cerrajerosribarrojadelturia.es/
Description: Theme profesional, rápido y optimizado para SEO local de Cerrajeros Ribarroja del Turia.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: cerrajeros-ribarroja
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images, accessibility-ready, translation-ready, one-column
*/

:root {
  --navy-950: #07111f;
  --navy-900: #0a1728;
  --navy-800: #10243c;
  --navy-700: #183553;
  --gold-500: #e9b949;
  --gold-400: #f2cb6b;
  --gold-100: #fff6d9;
  --ink: #142033;
  --muted: #607086;
  --line: #dce4ec;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --success: #169c5b;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(7, 17, 31, 0.08);
  --shadow-lg: 0 24px 70px rgba(7, 17, 31, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --font-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a {
  color: var(--navy-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

button,
input,
textarea,
select { font: inherit; }

button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
}

::selection {
  color: var(--navy-950);
  background: var(--gold-400);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 7px;
  color: var(--white);
  background: var(--navy-950);
}

.skip-link:focus { transform: none; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow { max-width: 780px; }

.screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(7, 17, 31, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header { top: 32px; }

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.site-branding {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--navy-950);
  background: var(--gold-500);
  box-shadow: 0 0 0 6px rgba(233, 185, 73, 0.1);
}

.brand-mark svg { width: 23px; height: 23px; }

.brand-copy { min-width: 0; }

.brand-name {
  display: block;
  overflow: hidden;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.26rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-locality {
  display: block;
  margin-top: 4px;
  color: #a8b6c8;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.primary-menu {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.primary-menu a {
  position: relative;
  color: #dce5ee;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-menu a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold-500);
  transition: transform 180ms ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a { color: var(--white); }

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after { transform: scaleX(1); }

.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.header-phone svg { width: 18px; color: var(--gold-500); }

.menu-toggle {
  display: none;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: var(--white);
  background: transparent;
}

.menu-toggle-bars,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: currentColor;
  transition: 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  color: var(--white);
  background-color: var(--navy-950);
  background-image: linear-gradient(90deg, rgba(7, 17, 31, 1) 0%, rgba(7, 17, 31, 0.96) 32%, rgba(7, 17, 31, 0.53) 60%, rgba(7, 17, 31, 0.12) 100%), var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(circle at 14% 12%, rgba(233, 185, 73, 0.12), transparent 27%), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

.hero-real {
  background: radial-gradient(circle at 84% 35%, rgba(233, 185, 73, 0.16), transparent 28%), var(--navy-950);
}

.hero-real .hero-inner { position: relative; }
.hero-real .hero-copy { position: relative; z-index: 2; }

.hero-work-photo {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(4px, 4vw, 64px);
  width: min(35%, 340px);
  margin: 0;
  transform: translateY(-50%);
}

.hero-work-photo img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}

.hero-work-photo figcaption,
.work-photo figcaption {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 5px;
  color: #dbe5ef;
  background: var(--navy-950);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 720px;
  align-items: center;
  padding-block: 96px 118px;
}

.hero-copy { max-width: 660px; }

.eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  align-items: center;
  gap: 11px;
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 14px;
  content: "";
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 16'%3E%3Cpath d='M1 8h29M23 1l7 7-7 7' fill='none' stroke='%23e9b949' stroke-width='2'/%3E%3C/svg%3E");
}

.hero h1,
.entry-hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 7vw, 6.6rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-transform: uppercase;
}

.hero h1 strong { color: var(--gold-500); font-weight: inherit; }

.hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: #dce5ee;
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.wp-element-button,
input[type="submit"] {
  display: inline-flex;
  min-height: 54px;
  padding: 14px 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--gold-500);
  border-radius: 9px;
  color: var(--navy-950);
  background: var(--gold-500);
  box-shadow: none;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.wp-element-button:hover,
input[type="submit"]:hover {
  color: var(--navy-950);
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: translateY(-2px);
}

.button svg { width: 20px; height: 20px; }

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-secondary:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -56px;
}

.trust-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(7, 17, 31, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.trust-item {
  display: flex;
  min-height: 112px;
  padding: 24px;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child { border-right: 0; }

.trust-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 13px;
  color: var(--navy-800);
  background: var(--gold-100);
}

.trust-icon svg { width: 23px; height: 23px; }

.trust-item strong,
.trust-item span { display: block; }

.trust-item strong { color: var(--navy-950); line-height: 1.25; }
.trust-item span { margin-top: 4px; color: var(--muted); font-size: 0.8rem; line-height: 1.35; }

.section { padding-block: 112px; }
.section-soft { background: var(--surface-soft); }
.section-dark { color: var(--white); background: var(--navy-950); }

.section-heading {
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: end;
  gap: 50px;
}

.section-heading h2,
.content-title {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.7vw, 4.6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.section-dark .section-heading h2 { color: var(--white); }
.section-heading > p { margin: 0; color: var(--muted); }
.section-dark .section-heading > p { color: #afbece; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 340px;
  padding: 30px;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--navy-800);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}

.service-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  transform: scale(1.01);
  background-image: linear-gradient(180deg, rgba(7, 17, 31, 0.04) 10%, rgba(7, 17, 31, 0.9) 82%), var(--card-image);
  background-position: center;
  background-size: cover;
  transition: transform 450ms cubic-bezier(.2,.7,.2,1);
}

.service-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: inherit;
  content: "";
}

.service-card:hover::before { transform: scale(1.055); }

.service-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  place-items: center;
  border-radius: 12px;
  color: var(--navy-950);
  background: var(--gold-500);
}

.service-icon svg { width: 25px; height: 25px; }

.service-card h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1.05;
  text-transform: uppercase;
}

.service-card p { margin: 12px 0 0; color: #d9e1ea; font-size: 0.92rem; line-height: 1.55; }

.service-card-plain { background: var(--navy-800); }
.service-card-plain::before { background-image: radial-gradient(circle at 84% 18%, rgba(233,185,73,.22), transparent 30%), linear-gradient(135deg, #102b47, #07111f); }

.section-specialty { background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%); }

.specialty-panel {
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.specialty-panel .eyebrow { margin-bottom: 28px; }
.specialty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 90px); }
.specialty-grid h2 { margin: 0; color: var(--navy-950); font-family: var(--font-display); font-size: clamp(2.35rem, 4.5vw, 4.5rem); font-weight: 900; line-height: .98; letter-spacing: -.045em; text-transform: uppercase; }
.specialty-grid p { margin: 0 0 18px; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(50px, 7vw, 96px);
}

.split-media {
  position: relative;
  min-height: 580px;
}

.split-media img {
  width: calc(100% - 48px);
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.work-photo { margin: 0; }
.work-photo figcaption { margin-left: 14px; }

.experience-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(250px, 60%);
  padding: 27px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--navy-950);
  box-shadow: var(--shadow-lg);
}

.experience-card strong {
  display: block;
  color: var(--gold-500);
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
}

.experience-card span { display: block; margin-top: 8px; font-size: .86rem; line-height: 1.45; }

.split-content h2 {
  margin: 0 0 24px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.split-content > p { color: var(--muted); }

.check-list {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 22px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 29px;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: .4em;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  content: "✓";
  color: var(--navy-950);
  background: var(--gold-500);
  font-size: 11px;
  font-weight: 900;
  line-height: 17px;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.12);
  overflow: hidden;
}

.process-step {
  min-height: 250px;
  padding: 36px;
  background: var(--navy-950);
}

.process-step .step-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(233,185,73,.5);
  border-radius: 50%;
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: 900;
}

.process-step h3 { margin: 28px 0 10px; color: var(--white); font-family: var(--font-display); font-size: 1.55rem; text-transform: uppercase; }
.process-step p { margin: 0; color: #adbbca; font-size: .92rem; }

.area-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 72px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--navy-800);
}

.area-panel::before {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 360px;
  height: 360px;
  border: 70px solid rgba(233,185,73,.09);
  border-radius: 50%;
  content: "";
}

.area-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 60px; }
.area-panel h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: .96; letter-spacing: -.045em; text-transform: uppercase; }
.area-panel p { margin: 22px 0 0; color: #c5d0db; }
.area-list { display: flex; margin: 0; padding: 0; flex-wrap: wrap; gap: 9px; list-style: none; }
.area-list li { padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; color: #e3eaf1; font-size: .81rem; font-weight: 700; }
.urbanization-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.urbanization-group h3 { margin: 0 0 11px; color: var(--gold-400); font-family: var(--font-display); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.nearby-areas { position: relative; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.nearby-areas strong { display: block; margin-bottom: 14px; color: var(--white); font-size: .88rem; }

.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.faq-question { display: flex; width: 100%; padding: 21px 24px; align-items: center; justify-content: space-between; gap: 20px; border: 0; color: var(--navy-950); background: transparent; font-weight: 850; text-align: left; }
.faq-question::after { flex: 0 0 auto; content: "+"; color: var(--gold-500); font-size: 1.8rem; font-weight: 400; line-height: .8; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-answer[hidden] { display: none; }

.cta-section { padding: 0 0 112px; }
.cta-panel { display: flex; padding: clamp(34px, 5.2vw, 64px); align-items: center; justify-content: space-between; gap: 36px; border-radius: var(--radius-lg); background: var(--gold-500); }
.cta-panel h2 { max-width: 700px; margin: 0; color: var(--navy-950); font-family: var(--font-display); font-size: clamp(2.25rem, 4.6vw, 4.4rem); font-weight: 900; line-height: .96; letter-spacing: -.04em; text-transform: uppercase; }
.cta-panel .button { flex: 0 0 auto; color: var(--white); background: var(--navy-950); border-color: var(--navy-950); }
.cta-panel .button:hover { color: var(--white); background: var(--navy-800); border-color: var(--navy-800); }

.entry-hero { padding: 96px 0 82px; color: var(--white); background: var(--navy-950); }
.entry-hero h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); }
.breadcrumbs { margin: 0 0 24px; color: #adbbca; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumbs a { color: var(--gold-400); }
.entry-content { padding-block: 80px; }
.entry-content > * { max-width: 780px; margin-right: auto; margin-left: auto; }
.entry-content > .alignwide { max-width: var(--container); }
.entry-content > .alignfull { max-width: none; }
.entry-content h2, .entry-content h3 { color: var(--navy-950); font-family: var(--font-display); line-height: 1.05; text-transform: uppercase; }
.entry-content h2 { margin-top: 2em; font-size: clamp(2rem, 4vw, 3.4rem); }
.entry-content h3 { margin-top: 1.8em; font-size: 1.65rem; }
.entry-content blockquote { padding: 20px 26px; border-left: 4px solid var(--gold-500); color: var(--navy-800); background: var(--surface-soft); }

.posts-grid { display: grid; padding-block: 80px; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card-content { padding: 24px; }
.post-card h2 { margin: 0; font-family: var(--font-display); font-size: 1.65rem; line-height: 1.1; text-transform: uppercase; }
.post-card h2 a { color: var(--navy-950); text-decoration: none; }
.post-meta { margin: 0 0 10px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.site-footer { color: #c1ccd8; background: var(--navy-950); }
.footer-main { display: grid; padding-block: 74px 54px; grid-template-columns: 1.35fr .65fr .8fr; gap: 64px; }
.footer-brand { max-width: 420px; }
.footer-brand .site-branding { display: inline-flex; }
.footer-brand p { margin: 20px 0 0; color: #9eacbc; }
.footer-title { margin: 0 0 20px; color: var(--white); font-family: var(--font-display); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-menu, .footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-menu li, .footer-contact li { margin: 9px 0; }
.footer-menu a, .footer-contact a { color: #c1ccd8; text-decoration: none; }
.footer-menu a:hover, .footer-contact a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; padding-block: 22px; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #8494a7; font-size: .78rem; }
.footer-bottom p { margin: 0; }

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: flex;
  min-width: 58px;
  height: 58px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 99px;
  color: var(--white);
  background: var(--success);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.whatsapp-float:hover { color: var(--white); background: #11894f; transform: translateY(-3px); }
.whatsapp-float svg { width: 25px; height: 25px; }

.error-404 { min-height: 70vh; padding-block: 110px; text-align: center; }
.error-code { display: block; color: var(--gold-500); font-family: var(--font-display); font-size: clamp(5rem, 16vw, 11rem); font-weight: 900; line-height: .8; }
.error-404 h1 { margin: 30px 0 15px; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4rem); text-transform: uppercase; }

@media (max-width: 1080px) {
  .site-navigation, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .site-navigation.is-open { position: fixed; display: block; inset: 82px 0 0; padding: 32px 20px; background: var(--navy-950); }
  .admin-bar .site-navigation.is-open { top: 114px; }
  .site-navigation.is-open .primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .site-navigation.is-open .primary-menu a { display: block; padding: 18px 6px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.25rem; }
  .site-navigation.is-open .primary-menu a::after { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:last-child { grid-column: auto; }
  .footer-main { grid-template-columns: 1.2fr .8fr; }
  .footer-main > div:last-child { grid-column: span 2; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .site-navigation.is-open { top: 128px; }
  .hero, .hero-inner { min-height: 690px; }
  .hero { background-image: linear-gradient(90deg, rgba(7,17,31,.97), rgba(7,17,31,.78)), var(--hero-image); background-position: 64% center; }
  .hero-real { background: var(--navy-950); }
  .hero-real .hero-work-photo { right: 24px; width: 220px; opacity: .34; }
  .hero-real .hero-work-photo img { height: 440px; }
  .hero-real .hero-work-photo figcaption { display: none; }
  .specialty-grid { grid-template-columns: 1fr; gap: 20px; }
  .section { padding-block: 82px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 500px; }
  .split-media img { height: 460px; }
  .process-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 580px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 74px; }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .brand-name { max-width: 230px; font-size: .94rem; }
  .site-navigation.is-open { top: 74px; }
  .admin-bar .site-navigation.is-open { top: 120px; }
  .hero, .hero-inner { min-height: 650px; }
  .hero-inner { padding-block: 72px 100px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.35rem); }
  .hero-real .hero-work-photo { top: 43%; right: -36px; width: 245px; opacity: .21; }
  .hero-real .hero-work-photo img { height: 470px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-strip { margin-top: -42px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 92px; padding: 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 310px; }
  .split-media { min-height: 420px; }
  .split-media img { width: calc(100% - 24px); height: 380px; }
  .experience-card { width: min(230px, 72%); padding: 22px; }
  .check-list { grid-template-columns: 1fr; }
  .urbanization-groups { grid-template-columns: 1fr; }
  .area-panel { margin-inline: -2px; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand, .footer-main > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 58px; padding: 0; }
  .whatsapp-float span { display: none; }
}

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

@media print {
  .site-header, .whatsapp-float, .hero-actions, .cta-section, .site-footer { display: none !important; }
  .hero { min-height: 0; padding: 50px 0; color: #000; background: #fff; }
  .hero-inner { min-height: 0; padding: 0; }
  .hero h1, .section-heading h2 { color: #000; }
}
