:root {
  --bg: #f5f7fb;
  --bg-alt: #ffffff;
  --primary: #2563eb;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-subtle: #e2e8f0;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  --container-max: 1120px;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 251, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0f172a;
}

.logo span {
  color: var(--primary);
}

.main-nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--primary);
}

/* Hero */

.hero {
  padding: 3.5rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin: 0.5rem 0 0.8rem;
}

.hero-subtitle {
  margin: 0 0 1.3rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.hero-meta {
  font-size: 0.85rem;
  color: #94a3b8;
}

.hero-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.hero-list {
  padding-left: 1.1rem;
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-list li {
  margin-bottom: 0.2rem;
}

.hero-note {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Sections */

.section {
  padding: 2.8rem 0;
}

.light-bg {
  background: #f8fafc;
}

.section-header {
  margin-bottom: 1.6rem;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.45rem;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  margin: 0;
  color: var(--text-muted);
  max-width: 44rem;
  font-size: 0.96rem;
}

/* Cards & grids */

.card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.card-grid .card h3 {
  margin-top: 0;
  font-size: 1.02rem;
}

.card-grid .card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Buttons */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Forms */

.centered-form {
  width: 100%;
  display: flex;
  justify-content: center;
}

.card-narrow {
  width: 60%;
  max-width: 880px;
  min-width: 540px;
}

form {
  width: 100%;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
  color: #475569;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid #cbd5f1;
  font-size: 0.9rem;
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.28);
  border-color: #93c5fd;
}

.input-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.field-block {
  margin-bottom: 0.8rem;
}

.form-note {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

.form-note.small {
  font-size: 0.78rem;
}

.form-note.smallest {
  font-size: 0.72rem;
}

/* ROI result */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.2rem;
}

.roi-result h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.roi-main {
  font-weight: 600;
  margin-top: 0.1rem;
}

.roi-detail {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.2rem 0 1.5rem;
  background: #f8fafc;
  margin-top: 1.5rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
}

.footer-contact {
  margin-top: 0.2rem;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    margin-top: 0.7rem;
  }
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-narrow {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .input-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .main-nav {
    display: none;
  }
  .hero {
    padding-top: 2.2rem;
  }
}

/* Support site specific tweaks */
.master-bridge {
  padding: 2.5rem 0 1.5rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  margin-top: 1.5rem;
}

.master-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 720px;
}

.master-note a {
  font-weight: 500;
}

.article-bridge {
  margin: 0.75rem 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-bridge a {
  font-weight: 500;
}

.footer-master {
  font-size: 0.85rem;
  color: var(--text-muted);
}



/* Tier-3 micro-site subtle tweaks */
.hero {
  padding-top: 2.2rem;
  padding-bottom: 2.8rem;
}

.logo span {
  font-size: 0.9rem;
}




/* PRO enhancements for AlicanteNewBuilds Tier3 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 42, 67, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}
.logo span {
  color: #e5f0ff;
}
.main-nav a {
  font-weight: 600;
}
.main-nav a[href^="https://alicante"] {
  font-size: 0.85rem;
  opacity: 0.9;
}
.hero {
  background: radial-gradient(circle at top left, #dbeafe, #f5f7fb);
}
