/*
Theme Name: Prime Madrid Arquitectos
Theme URI: https://primemadridarquitectos.es
Author: Prime Madrid Arquitectos
Description: Tema corporativo de Prime Madrid Arquitectos, estudio de arquitectura para proyectos seleccionados en España con especial atención a la Comunidad de Madrid
Version: 1.0.9
License: GNU General Public License v2 or later
Text Domain: prime-arq
*/

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/montserrat-latin-400-500.woff2') format('woff2');
}


/* Local form preparation: anti-spam trap and explicit privacy consent. */
.pmg-form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.pmg-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #0D1B2A;
  font-size: 11px;
  line-height: 1.45;
}

.contact-system__form .pmg-form-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 3px 0 0;
  accent-color: #B8945A;
}

.pmg-form-consent a {
  color: #0D1B2A;
  text-decoration: underline;
  text-decoration-color: #B8945A;
  text-underline-offset: 3px;
}


@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-light.ttf') format('truetype');
}

/* ===========================
   CSS VARIABLES
=========================== */
:root {
  --navy:         #0D1B2A;
  --gold:         #B8945A;
  --anthracite:   #1c1c1e;
  --graphite:     #2d2d2f;
  --steel:        #4a4a4f;
  --accent:       #c8a96e;
  --accent-light: #dfc28e;
  --white:        #ffffff;
  --off-white:    #f5f5f3;
  --light-gray:   #eaeae8;
  --mid-gray:     #9a9a9a;
  --text-dark:    #1c1c1e;
  --text-body:    #444444;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', Arial, sans-serif;

  --radius:     2px;
  --radius-md:  6px;
  --shadow:     0 4px 32px rgba(0,0,0,0.08);
  --shadow-lg:  0 16px 64px rgba(0,0,0,0.14);
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.15;
}

/* ===========================
   LAYOUT
=========================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; }
.section--off { background: var(--off-white); }
.section--dark { background: var(--anthracite); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===========================
   TYPOGRAPHY
=========================== */
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.15;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-title--white { color: var(--white); }
.lead {
  font-size: 1.05rem;
  color: var(--mid-gray);
  line-height: 1.85;
  max-width: 520px;
}
.lead--white { color: rgba(255,255,255,0.65); }
.accent-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 20px 0;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.825rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  border-radius: var(--radius);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,0.35);
}
.btn-dark {
  background: var(--anthracite);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--graphite);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--anthracite);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--anthracite);
  border: 1px solid var(--anthracite);
}
.btn-outline-dark:hover {
  background: var(--anthracite);
  color: var(--white);
}

/* ===========================
   HEADER
=========================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(28,28,30,0.97);
  backdrop-filter: blur(12px);
  padding: 4px 0;
  height: 180px;
  line-height: 1;
  min-height: unset;	
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.site-header.scrolled .logo-name { color: var(--white); }
.site-header.scrolled .logo-name { font-size: 1.1rem; }
.site-header.scrolled .logo-sub  { color: var(--accent); }
.site-header.scrolled .main-nav a { color: rgba(255,255,255,0.85); }
.site-header.scrolled .main-nav a { font-size: 0.72rem; }
.site-header.scrolled .main-nav a:hover { color: var(--anthracite); }
.site-header.scrolled .nav-cta {
  background: var(--accent);
  color: var(--white) !important;
}
.site-header.scrolled .site-logo { transform: scale(0.85); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo { display: flex; flex-direction: column; gap: 1px; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 600;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: var(--transition);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 500 !important;
  white-space: nowrap;	
}
.nav-cta::after { display: none !important; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.site-header.scrolled .menu-toggle span { background: var(--accent); }

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--anthracite);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(28,28,30,0.88) 0%,
    rgba(28,28,30,0.60) 55%,
    rgba(28,28,30,0.40) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-tag-line {
  width: 32px; height: 1px;
  background: var(--accent);
}
.hero-tag span {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 500;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero-title em {
  font-style: italic;
  color: var(--accent-light);
}
.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 520px;
  background: rgba(28,28,30,0.55);
  padding: 14px 18px;
  border-left: 2px solid var(--accent);
  border-radius: 0 4px 4px 0;
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-bottom-item {
  flex: 1;
  padding: 24px 32px;
  background: rgba(28,28,30,0.80);
  backdrop-filter: blur(12px);
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.hero-bottom-item:last-child { border-right: none; }
.hero-bottom-item:hover { background: rgba(200,169,110,0.15); }
.hbi-icon {
  width: 40px; height: 40px;
  background: rgba(200,169,110,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hbi-icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hbi-text p {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 2px;
}
.hbi-text span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}

/* ===========================
   SERVICIOS
=========================== */
.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }
.service-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 200;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-num { color: var(--accent); opacity: 0.4; }
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 12px;
  font-family: var(--font-body);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.8;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.service-tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  background: var(--off-white);
  color: var(--steel);
  border-radius: 100px;
  letter-spacing: 0.05em;
}

/* ===========================
   VENTAJAS / POR QUÉ
=========================== */
.ventaja-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.ventaja-item:hover { background: var(--white); box-shadow: var(--shadow); }
.ventaja-icon {
  width: 48px; height: 48px;
  background: var(--anthracite);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ventaja-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ventaja-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.ventaja-item p {
  font-size: 0.875rem;
  color: var(--mid-gray);
  line-height: 1.75;
}

/* ===========================
   PROCESO
=========================== */
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.proceso-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.proceso-step::after {
  content: '→';
  position: absolute;
  top: 20px;
  right: -10px;
  color: var(--accent);
  font-size: 1.2rem;
  z-index: 1;
}
.proceso-step:last-child::after { display: none; }
.paso-num {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.proceso-step h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}
.proceso-step p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ===========================
   PRECIOS / TARIFAS
=========================== */
.precio-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.precio-card.featured {
  background: var(--anthracite);
  border-color: var(--anthracite);
  transform: scale(1.03);
}
.precio-card.featured h3,
.precio-card.featured .precio-desc { color: var(--white); }
.precio-card.featured .precio-list li { color: rgba(255,255,255,0.75); }
.precio-card.featured .precio-list li::before { background: var(--accent); }
.featured-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.precio-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.precio-desde {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  display: block;
  margin-bottom: 4px;
}
.precio-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.precio-unit {
  font-size: 0.8rem;
  color: var(--mid-gray);
  display: block;
  margin-bottom: 20px;
}
.precio-desc {
  font-size: 0.85rem;
  color: var(--mid-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 60px;
}
.precio-list {
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.precio-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-body);
}
.precio-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

/* ===========================
   FORMULARIO CONTACTO
=========================== */
.contact-wrap {
  background: var(--off-white);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
}
.contact-info {
  background: var(--anthracite);
  padding: 56px 44px;
}
.contact-info h3 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 16px;
}
.contact-info .accent-line { background: var(--accent); }
.contact-info p {
  color: rgba(255,255,255,0.6);
  font-size: 0.925rem;
  line-height: 1.8;
  margin-bottom: 36px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 38px; height: 38px;
  background: rgba(200,169,110,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 17px; height: 17px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-detail p { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-bottom: 2px; }
.contact-detail a { font-size: 0.95rem; color: var(--white); }
.contact-form {
  padding: 56px 44px;
  background: var(--white);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  background: var(--white);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--mid-gray); }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: var(--mid-gray);
  line-height: 1.6;
}
.form-check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); }
.form-check a { color: var(--accent); text-decoration: underline; }

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: var(--anthracite);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 48px;
  align-items: start;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col--links {
  padding-top: 0;
}
.footer-col p,
.footer-col a,
.footer-col li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.9;
}
.footer-col a:hover { color: var(--accent-light); }
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.2); }

/* ===========================
   COOKIE BANNER
=========================== */
.cookie-banner {
  position: fixed;
  bottom: 24px; left: 24px; right: 24px;
  max-width: 500px;
  background: var(--anthracite);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 22px 26px;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-banner p { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .proceso-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .proceso-step::after { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; gap: 24px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info { padding: 40px 28px; }
  .contact-form { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero-bottom { flex-direction: column; }
  .proceso-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(28,28,30,0.98);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 998 !important;
    overflow: hidden !important;
  }
  .main-nav.open a { font-size: 1.2rem; color: var(--white) !important; padding: 8px 0; }
  .menu-toggle { display: flex; z-index: 1000; position: relative; right: 0; flex-shrink: 0; }
  .precio-card.featured { transform: none; }
  .logo-name { font-size: 1.1rem; }
  .logo-sub { font-size: 0.55rem; letter-spacing: 0.15em; }
  .site-header { padding: 14px 0; }
  .header-inner { gap: 8px; overflow: hidden; }
  .site-logo { max-width: calc(100% - 50px); }
  .hero-content { padding-top: 110px; }
  .hero-tag { margin-top: 0; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; width: 100%; }
  .portfolio-fotos { grid-template-columns: 1fr; }
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ===========================
   SERVICIOS — SISTEMA MAESTRO
=========================== */
.services-system {
  min-height: 100vh;
  box-sizing: border-box;
  scroll-margin-top: calc(var(--ecosystem-header-height) - 4px);
  padding: 52.759528px 0 44.166px;
  color: var(--navy);
  background: var(--white);
  font-family: "Montserrat", sans-serif;
}

.services-system > .container {
  width: 1204.367px;
  max-width: none;
  padding-right: 66.909px;
  padding-left: 66.909px;
}

.services-system__label,
.services-system__heading {
  display: block;
  width: fit-content;
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.services-system__label-group { width: fit-content; }

.services-system__label-line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 8.5px 0 18.9px;
  background: var(--gold);
}

.services-system__title {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.35rem, 3.1vw, 3.15rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
}

.services-system__title span { display: block; }

.services-system__copy {
  width: 100%;
  max-width: 1000px;
  margin: 26.457px 0 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
}

.services-system__services { margin-top: 49.133417px; }
.services-system__heading { margin-bottom: 22.677px; }

.services-system__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 30.236px;
}

.services-system__item {
  grid-column: span 2;
  min-width: 0;
}

.services-system__item:nth-child(4) { grid-column: 1 / span 3; }
.services-system__item:nth-child(5) { grid-column: 4 / span 3; }

.services-system__item h4 {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.services-system__item-line {
  display: block;
  width: 100%;
  max-width: 238px;
  height: 2px;
  margin: 11.338px 0;
  background: var(--gold);
}

.services-system__item p {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .84rem;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
}

@media (max-width: 1204px) {
  .services-system > .container {
    width: 100%;
    max-width: 1204.367px;
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (max-width: 900px) {
  .services-system { min-height: auto; }
  .services-system__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-system__item,
  .services-system__item:nth-child(4),
  .services-system__item:nth-child(5) { grid-column: auto; }
}

@media (max-width: 640px) {
  .services-system { padding: 52.759528px 0 44.166px; }
  .services-system > .container { padding-right: 20px; padding-left: 20px; }
  .services-system__title { font-size: clamp(2rem, 10vw, 2.7rem); }
  .services-system__copy { margin-top: 22.677px; }
  .services-system__services { margin-top: 45.354px; }
  .services-system__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  * { max-width: 100%; box-sizing: border-box; }
  .grid-2 { grid-template-columns: 1fr !important; }
  .ventaja-item { width: 100% !important; }
  .ventajas-grid { grid-template-columns: 1fr !important; width: 100% !important; }
  .ventajas-grid .ventaja-item { grid-column: 1 !important; }
}

/* ===========================
   ECOSYSTEM HEADER SYSTEM
=========================== */
:root { --ecosystem-header-height: 144px; }
.skip-link { position: fixed; z-index: 9999; top: -80px; left: 20px; padding: 12px 18px; color: #fff; background: var(--navy); }
.skip-link:focus { top: 20px; }

.site-header,
.site-header.is-scrolled,
.site-header.scrolled {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--ecosystem-header-height);
  padding: 0;
  color: #fff;
  background: var(--navy) !important;
  border: 0;
  border-bottom: 1px solid rgba(184,148,90,.22);
  box-shadow: none;
  backdrop-filter: none;
  transition: border-color .3s ease;
}
body.admin-bar .site-header { top: 32px; }

.site-header .header-inner {
  display: grid;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0 clamp(28px,3vw,52px);
  grid-template-columns: minmax(250px,1fr) auto minmax(250px,1fr);
  align-items: center;
  gap: 32px;
  overflow: visible;
}
.site-header .site-logo { display: block; width: 310px; height: auto; max-width: none; margin: 0; padding: 0; justify-self: start; transform: none !important; }
.site-header .site-logo__image {
  display: block;
  width: 355.3px;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  transform: translate(-28.5px,-18.9px);
}

.site-header .site-nav {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.7px;
  margin: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  font-family: "Montserrat",sans-serif;
  text-transform: uppercase;
  transform: none !important;
}
.site-header .site-nav__primary { position: relative; top: -16px; display: flex; align-items: center; justify-content: center; gap: 27px; }
.site-header .site-nav__primary > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0;
  color: #fff !important;
  font-family: "Montserrat",sans-serif;
  font-size: 10.88px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .14em;
  white-space: nowrap;
}
.site-header .site-nav__primary > a::after { display: none; }
.site-header .site-nav__primary > a:hover,
.site-header .site-nav > .site-nav__corporate:hover { color: var(--gold) !important; }
.site-header .site-nav > .site-nav__corporate {
  display: inline-flex;
  min-height: 14px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff !important;
  font-family: "Montserrat",sans-serif;
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header .header-actions {
  display: flex;
  width: 228px;
  min-width: 228px;
  position: relative;
  top: -17.490472441px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  justify-self: end;
  gap: 3.7px;
  transform: none;
}
.site-header .header-language {
  display: block;
  min-height: 14px;
  color: #fff;
  font-family: "Montserrat",sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 14px;
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-header .nav-cta {
  display: inline-flex;
  width: 228px;
  min-width: 228px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0 18px;
  border: 1px solid #000;
  border-radius: 0;
  color: #000 !important;
  background: #fff !important;
  font-family: "Montserrat",sans-serif;
  font-weight: 500 !important;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transform: none !important;
}
.site-header .nav-cta__platform,
.site-header .nav-cta__label { display: block; color: inherit; font-family: "Montserrat",sans-serif; font-size: 10.88px; font-weight: 500; line-height: 1; text-align: center; white-space: nowrap; }
.site-header .nav-cta__platform { font-weight: 600; letter-spacing: .14em; }
.site-header .nav-cta__label { letter-spacing: .1em; }
.site-header.scrolled .nav-cta,
.site-header.is-scrolled .nav-cta {
  color: #000 !important;
  background: #fff !important;
  border-color: #000 !important;
}
.site-header .nav-cta:hover,
.site-header.scrolled .nav-cta:hover,
.site-header.is-scrolled .nav-cta:hover {
  color: #fff !important;
  background: #000 !important;
  border-color: #000 !important;
}
.site-header .site-nav > .nav-cta--mobile { display: none; }

.site-header .nav-toggle { display: none; width: 42px; height: 42px; margin: 0; padding: 9px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; background: transparent; cursor: pointer; }
.site-header .nav-toggle span { display: block; width: 24px; height: 1px; margin: 0; background: #fff; transition: transform .25s ease,opacity .25s ease; }
.site-header .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1350px) {
  :root { --ecosystem-header-height: 106px; }
  .site-header .header-inner { display: flex; width: 100%; max-width: none; padding: 0 24px; justify-content: space-between; gap: 20px; overflow: visible; }
  .site-header .site-logo { width: 230px; max-width: none; }
  .site-header .site-logo__image { width: 263.6px; max-width: none; transform: translate(-21.1px,-14px); }
  .site-header .header-actions { display: none; }
  .site-header .nav-toggle { display: flex; margin-left: auto; }
  .site-header .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    width: auto;
    height: auto;
    padding: 24px;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
    color: #fff;
    background: var(--navy);
    border-bottom: 1px solid rgba(184,148,90,.22);
    overflow: visible;
  }
  .site-header .site-nav.is-open { display: grid; }
  .site-header .site-nav__primary { position: static; display: grid; align-items: stretch; justify-content: stretch; gap: 0; }
  .site-header .site-nav__primary > a { display: flex; min-height: 44px; padding: 8px 0; }
  .site-header .site-nav > .site-nav__corporate { min-height: 36px; justify-content: flex-start; margin-top: 8px; padding: 8px 0; }
  .site-header .site-nav .nav-cta--mobile { display: inline-flex; margin-top: 12px; padding: 0 18px; text-align: center; }
}
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 480px) {
  .site-header .header-inner { padding: 0 20px; }
  .site-header .site-logo { width: 230px; max-width: none; }
  .site-header .site-logo__image { width: 263.6px; max-width: none; transform: translate(-21.1px,-14px); }
}
/* ===========================
   PROCESO — SISTEMA MAESTRO
=========================== */
.process-system {
  min-height: 100vh;
  box-sizing: border-box;
  scroll-margin-top: calc(var(--ecosystem-header-height) - 4px);
  padding: 52.759528px 0 44.166px;
  color: var(--navy);
  background: var(--white);
  font-family: "Montserrat", sans-serif;
}

.process-system > .container {
  width: 1204.367px;
  max-width: none;
  padding-right: 66.909px;
  padding-left: 66.909px;
}

.process-system__label,
.process-system__heading {
  display: block;
  width: fit-content;
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.process-system__label-group { width: fit-content; }

.process-system__label-line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 8.5px 0 15.120472px;
  background: var(--gold);
}

.process-system__title {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.35rem, 3.1vw, 3.15rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
}

.process-system__title span { display: block; }

.process-system__copy {
  width: 100%;
  max-width: 1000px;
  margin: 26.457px 0 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
}

.process-system__steps { margin-top: 49.133417px; }
.process-system__heading { margin-bottom: 22.677px; }

.process-system__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 30.236px;
}

.process-system__item {
  grid-column: span 2;
  min-width: 0;
}

.process-system__item:nth-child(4) { grid-column: 1 / span 3; }
.process-system__item:nth-child(5) { grid-column: 4 / span 3; }

.process-system__item h4 {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.process-system__item-line {
  display: block;
  width: 100%;
  max-width: 238px;
  height: 2px;
  margin: 11.338px 0;
  background: var(--gold);
}

.process-system__item p {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .84rem;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
}

@media (max-width: 1204px) {
  .process-system > .container {
    width: 100%;
    max-width: 1204.367px;
  }
}

@media (max-width: 900px) {
  .process-system { min-height: auto; }
  .process-system__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-system__item,
  .process-system__item:nth-child(4),
  .process-system__item:nth-child(5) { grid-column: auto; }
  .process-system__item:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 18px) / 2);
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .process-system { padding: 52.759528px 0 44.166px; }
  .process-system > .container { padding-right: 20px; padding-left: 20px; }
  .process-system__title { font-size: clamp(2rem, 10vw, 2.7rem); }
  .process-system__copy { margin-top: 22.677px; }
  .process-system__steps { margin-top: 45.354px; }
  .process-system__grid { grid-template-columns: 1fr; }
  .process-system__item:last-child {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
}
/* ===========================
   ESTUDIO — SISTEMA MAESTRO
=========================== */
.studio-system {
  min-height: 100vh;
  box-sizing: border-box;
  scroll-margin-top: calc(var(--ecosystem-header-height) - 4px);
  padding: 52.759528px 0 44.166px;
  color: var(--navy);
  background: var(--white);
  font-family: "Montserrat", sans-serif;
}

.studio-system > .container {
  width: 1204.367px;
  max-width: none;
  padding-right: 66.909px;
  padding-left: 66.909px;
}

.studio-system__label,
.studio-system__heading {
  display: block;
  width: fit-content;
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.studio-system__label-group { width: fit-content; }

.studio-system__label-line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 8.5px 0 15.120472px;
  background: var(--gold);
}

.studio-system__title {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.35rem, 3.1vw, 3.15rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
}

.studio-system__title span { display: block; }

.studio-system__copy {
  width: 100%;
  max-width: 1000px;
  margin: 26.457px 0 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
}

.studio-system__principles { margin-top: 49.133417px; }
.studio-system__heading { margin-bottom: 22.677px; }

.studio-system__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 30.236px;
}

.studio-system__item {
  grid-column: span 2;
  min-width: 0;
}

.studio-system__item:nth-child(4) { grid-column: 1 / span 3; }
.studio-system__item:nth-child(5) { grid-column: 4 / span 3; }

.studio-system__item h4 {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.studio-system__item-line {
  display: block;
  width: 100%;
  max-width: 238px;
  height: 2px;
  margin: 11.338px 0;
  background: var(--gold);
}

.studio-system__item p {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .84rem;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
}

@media (max-width: 1204px) {
  .studio-system > .container {
    width: 100%;
    max-width: 1204.367px;
  }
}

@media (max-width: 900px) {
  .studio-system { min-height: auto; }
  .studio-system__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-system__item,
  .studio-system__item:nth-child(4),
  .studio-system__item:nth-child(5) { grid-column: auto; }
  .studio-system__item:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 18px) / 2);
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .studio-system { padding: 52.759528px 0 44.166px; }
  .studio-system > .container { padding-right: 20px; padding-left: 20px; }
  .studio-system__title { font-size: clamp(2rem, 10vw, 2.7rem); }
  .studio-system__copy { margin-top: 22.677px; }
  .studio-system__principles { margin-top: 45.354px; }
  .studio-system__grid { grid-template-columns: 1fr; }
  .studio-system__item:last-child {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
}
/* ===========================
   TARIFAS — SISTEMA MAESTRO
=========================== */
.fees-system {
  min-height: 100vh;
  box-sizing: border-box;
  scroll-margin-top: calc(var(--ecosystem-header-height) - 4px);
  padding: 52.759528px 0 44.166px;
  color: var(--navy);
  background: var(--white);
  font-family: "Montserrat", sans-serif;
}

.fees-system > .container {
  width: 1204.367px;
  max-width: none;
  padding-right: 66.909px;
  padding-left: 66.909px;
}

.fees-system__label,
.fees-system__heading {
  display: block;
  width: fit-content;
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.fees-system__label-group { width: fit-content; }

.fees-system__label-line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 8.5px 0 15.120472px;
  background: var(--gold);
}

.fees-system__title {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.35rem, 3.1vw, 3.15rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
}

.fees-system__title span { display: block; }

.fees-system__copy {
  width: 100%;
  max-width: 1000px;
  margin: 26.457px 0 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
}

.fees-system__factors { margin-top: 49.133417px; }
.fees-system__heading { margin-bottom: 22.677px; }

.fees-system__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 30.236px;
}

.fees-system__item {
  grid-column: span 2;
  min-width: 0;
}

.fees-system__item h4 {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.fees-system__item-line {
  display: block;
  width: 100%;
  max-width: 238px;
  height: 2px;
  margin: 11.338px 0;
  background: var(--gold);
}

.fees-system__item p {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .84rem;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
}

.fees-system__closing-line {
  white-space: nowrap;
}

.fees-system__text-link {
  display: inline-flex;
  margin-left: 14px;
  color: var(--gold);
  font: inherit;
  font-weight: 500;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.fees-system__text-link:hover,
.fees-system__text-link:focus {
  color: var(--gold);
  opacity: .72;
}

@media (max-width: 1204px) {
  .fees-system > .container {
    width: 100%;
    max-width: 1204.367px;
  }
}

@media (max-width: 900px) {
  .fees-system { min-height: auto; }
  .fees-system__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fees-system__item { grid-column: auto; }
}

@media (max-width: 768px) {
  .fees-system { padding: 52.759528px 0 44.166px; }
  .fees-system > .container { padding-right: 20px; padding-left: 20px; }
  .fees-system__title { font-size: clamp(2rem, 10vw, 2.7rem); }
  .fees-system__copy { margin-top: 22.677px; }
  .fees-system__factors { margin-top: 45.354px; }
  .fees-system__grid { grid-template-columns: 1fr; }
}
/* ===========================
   CONTACTO — SISTEMA MAESTRO
=========================== */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-system {
  min-height: 100vh;
  box-sizing: border-box;
  scroll-margin-top: calc(var(--ecosystem-header-height) - 4px);
  padding: 52.759528px 0 44.166px;
  color: var(--navy);
  background: var(--white);
  font-family: "Montserrat", sans-serif;
}

.contact-system > .container {
  width: 1204.367px;
  max-width: none;
  padding-right: 66.909px;
  padding-left: 66.909px;
}

.contact-system__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.contact-system__label-group { width: fit-content; }

.contact-system__label {
  display: block;
  width: fit-content;
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.contact-system__label-line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 8.5px 0 15.120472px;
  background: var(--gold);
}

.contact-system__title {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.72rem, 2.45vw, 2.48rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: normal;
}

.contact-system__copy {
  max-width: 500px;
  margin: 26.457px 0 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
}

.contact-system__detail {
  margin-top: 22.677px;
}

.contact-system__detail-label {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contact-system__detail-value {
  max-width: 500px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.7;
}

.contact-system__detail-value a {
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  text-decoration: none;
}

.contact-system__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-system__form input:not([type="hidden"]):not([type="checkbox"]),
.contact-system__form select,
.contact-system__form textarea {
  width: 100%;
  min-height: 44px;
  padding: 13px 16px;
  border: 1.5px solid #ece7de;
  border-radius: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.contact-system__form input:not([type="hidden"]):not([type="checkbox"]),
.contact-system__form select {
  height: 44px;
}

.contact-system__form input::placeholder,
.contact-system__form textarea::placeholder {
  color: var(--navy);
  opacity: 1;
}

.contact-system__form input:focus,
.contact-system__form select:focus,
.contact-system__form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 148, 90, .10);
}

.contact-system__form select {
  appearance: none;
  cursor: pointer;
}

.contact-system__form textarea {
  height: 143.500724px;
  min-height: 143.500724px;
  resize: vertical;
}

.contact-system__privacy {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .72rem;
  line-height: 1.5;
}

.contact-system__privacy input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--navy);
}

.contact-system__privacy a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.contact-system__button {
  display: inline-flex;
  width: 228px;
  height: 44px;
  min-height: 44px;
  scroll-margin-top: calc(var(--ecosystem-header-height) + 20px);
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0 18px;
  border: 2px solid var(--navy);
  border-radius: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease;
}

.contact-system__button:hover,
.contact-system__button:focus {
  color: var(--white);
  background: var(--navy);
}

.contact-system__success {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: .92rem;
  line-height: 1.7;
}

@media (max-width: 1204px) {
  .contact-system > .container {
    width: 100%;
    max-width: 1204.367px;
  }
}

@media (max-width: 900px) {
  .contact-system { min-height: auto; }
  .contact-system__grid { grid-template-columns: 1fr; gap: 45.354px; }
}

@media (max-width: 768px) {
  .contact-system { padding: 52.759528px 0 44.166px; }
  .contact-system > .container { padding-right: 20px; padding-left: 20px; }
  .contact-system__title { font-size: clamp(1.65rem, 8vw, 2.25rem); }
  .contact-system__copy { margin-top: 22.677px; }
  .contact-system__button { width: 100%; }
}

/* PMG definitive responsive Footer — aligned with International and Spain. */
.site-footer { padding:40px 0 8.881890px; border-top:0; color:var(--white); background:var(--navy); font-family:"Montserrat",Arial,sans-serif; }
.site-footer > .container { max-width:1160px; padding-right:32px; padding-left:32px; }
.site-footer .footer-grid { display:grid; grid-template-columns:minmax(280px,1.4fr) repeat(3,minmax(0,1fr)); gap:48px; margin-bottom:50.677165px; align-items:start; }
.site-footer, .site-footer a, .site-footer p, .site-footer span, .site-footer li, .site-footer .footer-heading { color:var(--white); font-family:"Montserrat",Arial,sans-serif; }
.site-footer .footer-brand__desc { max-width:340px; margin:0; font-size:12.5px; line-height:1.7; }
.site-footer .footer-heading { margin:0 0 18px; font-size:10.5px; font-weight:600; line-height:1.2; letter-spacing:.18em; text-transform:uppercase; }
.site-footer .footer-col ul { display:flex; flex-direction:column; gap:0; margin:0; padding:0; list-style:none; }
.site-footer .footer-col ul li { margin:0 0 9px; font-size:12.5px; line-height:1.45; }
.site-footer .footer-col ul li a { color:var(--white); font-size:12.5px; line-height:1.45; }
.site-footer a:hover, .site-footer a:focus { color:var(--white); opacity:1; }
.site-footer .footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-direction:row; flex-wrap:wrap; gap:12px; padding-top:16px; border-top:1px solid var(--gold); text-align:left; transform:translateY(-11.338583px); }
.site-footer .footer-bottom p, .site-footer .footer-bottom a, .site-footer .footer-language { margin:0; color:var(--white); font-family:"Montserrat",Arial,sans-serif; font-size:11px; line-height:1.4; }
.site-footer .footer-language { letter-spacing:.13em; white-space:nowrap; }
.site-footer .footer-links { display:flex; align-items:center; gap:24px; }
.site-footer .footer-brand__logo { position:relative; width:min(340px,100%); height:auto; aspect-ratio:1677/635; margin-bottom:35.071px; overflow:visible; }
.site-footer .footer-brand__logo img { position:absolute; top:0; left:0; display:block; width:116.040549791%; max-width:none; height:auto; transform:translate(-8.581706064%,-17.782217782%); }
.cookie-banner__actions { display:flex; gap:12px; }
.language-switcher { display:inline-flex!important; align-items:center; justify-content:center; gap:6px; white-space:nowrap; }
.language-choice { display:inline-flex; align-items:center; gap:4px; color:inherit; text-decoration:none; }
.language-choice:hover, .language-choice:focus { color:inherit; opacity:1; }
.language-flag { display:block; width:18px; height:12px; flex:0 0 18px; }
.language-separator { display:inline-block; letter-spacing:0; }

@media (max-width:900px) {
  .site-footer .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px 40px; }
}

@media (max-width:560px) {
  .site-footer { padding:40px 0 24px; }
  .site-footer .container { padding-right:18px; padding-left:18px; }
  .site-footer .footer-grid { grid-template-columns:1fr; gap:30px; margin-bottom:34px; }
  .site-footer .footer-bottom { align-items:flex-start; }
  .site-footer .footer-links { flex-wrap:wrap; gap:12px 20px; }
}

/* PMG Arquitectos audit normalization — 21 August 2026. */
.fees-system__text-link {
  color: var(--gold) !important;
  font-size: 13.44px;
  font-weight: 600;
}

.fees-system__text-link:hover,
.fees-system__text-link:focus {
  color: var(--gold) !important;
  opacity: .72;
}

.contact-system__button {
  font-size: 12.48px;
  font-weight: 700;
  letter-spacing: 1.4976px;
}

@media (min-width:901px) {
  .site-footer {
    min-height: 368.09px;
  }
}

@media (max-width:900px) {
  .services-system > .container,
  .studio-system > .container,
  .process-system > .container,
  .projects-system > .container,
  .fees-system > .container,
  .contact-system > .container {
    width: 100%;
    max-width: none;
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width:560px) {
  .services-system > .container,
  .studio-system > .container,
  .process-system > .container,
  .projects-system > .container,
  .fees-system > .container,
  .contact-system > .container {
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* PMG master functional-button treatment — ecosystem point 5. */
.contact-system__button { border:2px solid var(--navy); color:var(--navy); background:var(--white); font-family:"Montserrat",Arial,sans-serif; font-size:12.48px; font-weight:700; line-height:1; letter-spacing:1.4976px; text-transform:uppercase; box-shadow:none; transform:none; transition:color .25s ease,background-color .25s ease,border-color .25s ease; }
.contact-system__button:hover,
.contact-system__button:focus { border-color:var(--navy); color:var(--white); background:var(--navy); }
.contact-system__button:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }

/* PMG mobile Footer normalization — ecosystem point 7. */
@media (max-width: 900px) {
  .site-footer .footer-brand__logo {
    width: auto;
    height: auto;
    aspect-ratio: auto;
    margin-bottom: -5.39px;
    overflow: visible;
  }
  .site-footer .footer-brand__logo img {
    position: static;
    width: 180px;
    max-width: 100%;
    height: auto;
    transform: none;
  }
  .site-footer .footer-bottom {
    transform: none;
  }
}
@media (max-width: 560px) {
  .site-footer .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }
}
/* PMG master horizontal axis: common content bounds across the ecosystem. */
/* PMG master section-title scale. */
.services-system__title,
.studio-system__title,
.process-system__title,
.projects-system__title,
.fees-system__title,
.contact-system__title,
.page-shell .section-title {
  font-size: 35.28px !important;
  line-height: 39.5136px !important;
}

@media (min-width: 1240px) {
  .site-footer .footer-brand__desc {
    min-height: 85px;
  }
}

/* PMG Footer vertical geometry: natural Group/International model. */
@media (min-width: 901px) {
  .site-footer {
    padding: 40px 0 24px;
    min-height: 0;
  }

  .site-footer .footer-grid {
    margin-bottom: 28px;
  }

  .site-footer .footer-bottom {
    transform: none;
  }
}

@media (min-width: 1240px) {
  section:not(.hero) > .container,
  main > .container,
  .site-footer > .container {
    --pmg-axis-margin: min(55mm, max(24px, calc((100vw - 1096px) / 2)));
    box-sizing: border-box !important;
    width: calc(100vw - var(--pmg-axis-margin) - var(--pmg-axis-margin)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    position: relative !important;
    left: calc((100vw - 100%) / 2) !important;
    transform: none !important;
  }
}

/* PMG Footer desktop parity: shared internal height at the common four-column layout. */
@media (min-width: 1240px) {
  .site-footer .footer-grid {
    min-height: 244.03125px;
  }
}

@media (min-width: 901px) and (max-width: 1239px) {
  .site-footer .footer-grid {
    min-height: 352.822937px;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .site-footer {
    padding: 40px 0 24px;
  }

  .site-footer .footer-grid {
    min-height: 480.385437px;
    margin-bottom: 28px;
  }
}

/* PMG 1024 correction: release the fixed desktop width of Projects only. */
@media (min-width: 901px) and (max-width: 1239px) {
  .projects-system > .container {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    padding-right: 32px !important;
    padding-left: 32px !important;
  }

  .projects-system__intro,
  .portfolio-grid {
    width: 100% !important;
    max-width: none !important;
  }
}

/* PMG common legal-page system. */
.legal-page {
  min-height: 70vh;
  padding: calc(var(--ecosystem-header-height) + 49px) 0 80px;
  color: #444;
  background: #fff;
  font-family: "Montserrat", Arial, sans-serif;
}
.legal-page__inner {
  width: min(calc(100% - 110px), 1080px);
  margin-inline: auto;
}
.legal-page__eyebrow {
  margin: 0 0 14px;
  color: #B8945A;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11.2px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.legal-page__title {
  margin: 0;
  color: #0D1B2A;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}
.legal-page__line {
  width: 72px;
  height: 1px;
  margin: 18px 0 32px;
  background: #B8945A;
}
.legal-page__content {
  max-width: 900px;
  color: #444;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
}
.legal-page__content p { margin: 0 0 20px; }
.legal-page__content h2,
.legal-page__content h3 {
  margin: 34px 0 12px;
  color: #0D1B2A;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.3;
}
.legal-page__content h2 { font-size: 24px; }
.legal-page__content h3 { font-size: 20px; }
.legal-page__content ul,
.legal-page__content ol { margin: 0 0 20px; padding-left: 24px; }
.legal-page__content li + li { margin-top: 8px; }
.legal-page__content a {
  color: #0D1B2A;
  text-decoration: underline;
  text-decoration-color: #B8945A;
  text-underline-offset: 3px;
}
.legal-page__back {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid rgba(184,148,90,.45);
}
.legal-page__back-link {
  display: inline-flex;
  width: 228px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #0D1B2A;
  color: #0D1B2A;
  background: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 10.88px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.legal-page__back-link:hover,
.legal-page__back-link:focus-visible {
  color: #fff;
  background: #0D1B2A;
}
@media (max-width: 1199px) {
  .legal-page { padding-top: calc(var(--ecosystem-header-height) + 40px); }
}
@media (max-width: 800px) {
  .legal-page { padding: calc(var(--ecosystem-header-height) + 32px) 0 64px; }
  .legal-page__inner { width: calc(100% - 48px); }
  .legal-page__title { font-size: 40px; }
  .legal-page__content { font-size: 15px; line-height: 1.8; }
}
@media (max-width: 560px) {
  .legal-page { padding-bottom: 52px; }
  .legal-page__inner { width: calc(100% - 32px); }
  .legal-page__title { font-size: 34px; }
  .legal-page__line { margin-bottom: 26px; }
  .legal-page__back-link { width: 100%; }
}

/* PMG common mobile footer geometry. */
@media (max-width: 900px) {
  .site-footer .footer-brand__logo { width:auto; height:auto; aspect-ratio:auto; margin-bottom:-5.39px; overflow:visible; }
  .site-footer .footer-brand__logo img { position:static; width:180px; max-width:100%; height:auto; transform:none; }
  .site-footer .footer-heading { line-height:1.2; }
  .site-footer .footer-col ul li { font-size:12.5px; line-height:1.45; }
  .site-footer .footer-bottom { transform:none; }
}
@media (max-width: 560px) {
  .site-footer .footer-bottom { flex-direction:row; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:12px; text-align:left; }
}
