/* ==========================================================================
   SERVICIOS ROMÁN IBIZA - PINTORES OFICIALES DE 1ª & SOLDADURA
   Design System & Mediterranean Architectural Aesthetic
   ========================================================================== */

:root {
  --navy-950: #08111e;
  --navy-900: #0d1e33;
  --navy-800: #142a45;
  --navy-700: #1c395c;
  
  --gold-500: #c9933b;
  --gold-600: #b4802c;
  --gold-400: #dfa84c;
  --gold-100: #fbf3e4;
  --gold-50:  #fdf9f2;
  
  --terracotta: #c25e3d;
  --chalk: #fbf9f5;
  --limestone: #f3eee6;
  --sand: #eae2d6;
  --stone-border: #dcd3c4;
  
  --text-dark: #121c27;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --green-emerald: #15803d;
  --green-hover: #166534;
  --green-soft: #ecfdf5;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(13, 30, 51, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 30, 51, 0.08);
  --shadow-lg: 0 20px 50px rgba(13, 30, 51, 0.12);
  --shadow-gold: 0 8px 24px rgba(201, 147, 59, 0.28);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--chalk);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.wrap {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* Top Urgency / Info Bar */
.top-notice-bar {
  background: var(--navy-950);
  color: #cbd5e1;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--gold-400);
}

.top-notice-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.top-notice-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.top-notice-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  font-weight: 500;
}

.top-notice-link:hover {
  color: var(--gold-400);
}

/* Main Navigation */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 30, 51, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 12px 0;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-title span {
  color: var(--gold-400);
}

.brand-sub {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #94a3b8;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.93rem;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-400);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-400);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-emerald);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

.btn-header-wa:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 147, 59, 0.35);
}

.btn-whatsapp {
  background: var(--green-emerald);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.25);
}

.btn-whatsapp:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.35);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--stone-border);
  color: var(--navy-900);
}

.btn-outline-dark:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
  background: var(--gold-50);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 17, 30, 0.92) 0%, rgba(13, 30, 51, 0.85) 60%, rgba(13, 30, 51, 0.65) 100%),
              url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=85') center/cover no-repeat;
  color: #ffffff;
  padding: 85px 0 100px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 30%, rgba(201, 147, 59, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 147, 59, 0.18);
  border: 1px solid rgba(201, 147, 59, 0.4);
  color: var(--gold-400);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-title .highlight {
  color: var(--gold-400);
  display: inline;
  background: linear-gradient(120deg, #dfa84c 0%, #ffbd18 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.14rem;
  line-height: 1.7;
  color: #d1dce7;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-action-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-guarantees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.guarantee-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  flex-shrink: 0;
}

/* Hero Right Card / Quick Quote Box */
.hero-card {
  background: rgba(20, 42, 69, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}

.hero-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.hero-card-header p {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 3px;
}

.hero-card-cta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-direct-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-direct-call:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--gold-400);
}

/* Trust Bar / Clients & Pillars */
.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--stone-border);
  padding: 24px 0;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon-box {
  width: 46px;
  height: 46px;
  background: var(--gold-50);
  border: 1px solid var(--gold-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-600);
  flex-shrink: 0;
}

.trust-strip-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
}

.trust-strip-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Section Common Styling */
.section-pad {
  padding: 90px 0;
}

.section-pad-alt {
  padding: 90px 0;
  background: var(--limestone);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* Services 4 Core Pillars Section */
.services-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}

.pillar-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.pillar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-img-wrap img {
  transform: scale(1.05);
}

.pillar-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy-950);
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pillar-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 12px;
  line-height: 1.25;
}

.pillar-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.pillar-specs {
  list-style: none;
  margin-bottom: 1.75rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-specs li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.pillar-specs li svg {
  width: 16px;
  height: 16px;
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 3px;
}

.pillar-action {
  margin-top: auto;
}

.pillar-action .btn {
  width: 100%;
}

/* Secondary Services Grid */
.secondary-services-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 1.75rem;
}

.secondary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.secondary-item {
  background: #ffffff;
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.secondary-item:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.secondary-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--limestone);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.secondary-item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.secondary-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* The Official 1ª Standard / Methodology */
.method-section {
  background: var(--navy-950);
  color: #ffffff;
}

.method-section .section-title {
  color: #ffffff;
}

.method-section .section-subtitle {
  color: #cbd5e1;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.method-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-card {
  display: flex;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-400);
  transform: translateX(4px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-400);
  width: 44px;
  height: 44px;
  background: rgba(201, 147, 59, 0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.method-visual {
  position: relative;
}

.method-visual-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.method-visual-badge {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  background: rgba(13, 30, 51, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.method-visual-badge strong {
  display: block;
  font-size: 1.05rem;
  color: var(--gold-400);
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.method-visual-badge p {
  font-size: 0.84rem;
  color: #e2e8f0;
  margin: 0;
}

/* Interactive Quote Estimator */
.calculator-box {
  background: #ffffff;
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-md);
}

.calc-step {
  margin-bottom: 2rem;
}

.calc-label {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.calc-option-btn {
  background: var(--chalk);
  border: 2px solid var(--stone-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: left;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-option-btn strong {
  color: var(--navy-900);
  font-size: 0.95rem;
  font-weight: 700;
}

.calc-option-btn span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.calc-option-btn:hover {
  border-color: var(--gold-400);
  background: var(--gold-50);
}

.calc-option-btn.selected {
  border-color: var(--gold-500);
  background: #fff9ed;
  box-shadow: 0 4px 12px rgba(201, 147, 59, 0.18);
}

.calc-option-btn.selected strong {
  color: var(--gold-600);
}

.calc-slider-wrap {
  padding: 10px 0;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-slider-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-600);
}

.calc-range-input {
  width: 100%;
  height: 8px;
  background: var(--sand);
  border-radius: 4px;
  outline: none;
  accent-color: var(--gold-500);
}

.calc-result-panel {
  background: var(--navy-950);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.calc-result-info small {
  font-size: 0.82rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-price-range {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1.1;
  margin: 4px 0;
}

.calc-time-est {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.calc-result-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Portfolio / Gallery Section */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--stone-border);
  color: var(--text-body);
  transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stone-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-400);
}

.gallery-img-container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img-container img {
  transform: scale(1.06);
}

.gallery-location-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(13, 30, 51, 0.88);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 5px;
}

.gallery-location-tag svg {
  width: 13px;
  height: 13px;
  color: var(--gold-400);
}

.gallery-content {
  padding: 20px;
}

.gallery-tag-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-600);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-block;
}

.gallery-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.gallery-content p {
  font-size: 0.88rem;
  color: var(--text-body);
}

/* Service Areas in Ibiza */
.island-strip {
  background: #ffffff;
  border-top: 1px solid var(--stone-border);
  border-bottom: 1px solid var(--stone-border);
  padding: 50px 0;
}

.island-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.island-zones-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.zone-chip {
  background: var(--chalk);
  border: 1px solid var(--stone-border);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
}

.zone-chip:hover {
  border-color: var(--gold-400);
  background: var(--gold-50);
}

/* Testimonials / Client Trust */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.test-stars {
  color: #f59e0b;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}

.test-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.test-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.test-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.test-name strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.test-name span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-900);
  background: transparent;
}

.faq-question:hover {
  color: var(--gold-600);
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--gold-600);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-body);
  font-size: 0.94rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 24px 20px;
}

/* Main Contact & Form Section */
.contact-section {
  background: var(--navy-950);
  color: #ffffff;
}

.contact-section .section-title {
  color: #ffffff;
}

.contact-section .section-subtitle {
  color: #cbd5e1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: flex-start;
}

/* Netlify Contact Form */
.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 35px;
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.contact-form-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--stone-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--chalk);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(201, 147, 59, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-status {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--green-soft);
  color: var(--green-hover);
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Contact Info Aside */
.contact-info-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.info-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.25rem;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(201, 147, 59, 0.15);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 2px;
}

.info-item a,
.info-item span {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.info-item a:hover {
  color: var(--gold-400);
}

.info-direct-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.fast-badge-card {
  background: rgba(201, 147, 59, 0.1);
  border: 1px dashed rgba(201, 147, 59, 0.4);
  border-radius: var(--radius-md);
  padding: 18px;
}

.fast-badge-card strong {
  color: var(--gold-400);
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.fast-badge-card p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
}

/* Footer */
.site-footer {
  background: #050b14;
  color: #94a3b8;
  padding: 60px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 45px;
}

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.footer-brand h4 span {
  color: var(--gold-400);
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 360px;
}

.footer-links-col h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating Quick Action Buttons on Mobile */
.floating-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(8, 17, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: none;
  gap: 8px;
}

.floating-mobile-bar a {
  flex: 1;
  padding: 11px 8px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.float-btn-call {
  background: var(--navy-800);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.float-btn-wa {
  background: var(--green-emerald);
  color: #ffffff;
}

/* Floating WhatsApp Desktop Button */
.floating-desktop-wa {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99;
  background: var(--green-emerald);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, background 0.2s ease;
}

.floating-desktop-wa:hover {
  transform: scale(1.08);
  background: var(--green-hover);
}

.floating-desktop-wa svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .services-pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .services-pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .secondary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-inline: auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .method-grid {
    grid-template-columns: 1fr;
  }
  
  .island-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-notice-bar {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 5%;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .header-cta-group .btn-header-wa {
    display: none;
  }
  
  .hero-section {
    padding: 50px 0 70px;
  }
  
  .hero-guarantees-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-action-row .btn {
    width: 100%;
  }
  
  .trust-strip-grid {
    grid-template-columns: 1fr;
  }
  
  .secondary-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
  
  .calc-result-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .calc-result-actions {
    width: 100%;
  }
  
  .calc-result-actions .btn {
    width: 100%;
  }
  
  .floating-desktop-wa {
    display: none;
  }
  
  .floating-mobile-bar {
    display: flex;
  }
  
  body {
    padding-bottom: 60px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
