/* Desert Glass Design Theme - Net BridgeCore */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Syne:wght@500;600;700;800&display=swap');

:root {
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --color-bg: #F5EFEB;
  --color-bg-alt: #ECE3DC;
  --color-cream: #FBF9F5;
  --color-text-main: #241A16;
  --color-text-muted: #6B5B52;
  --color-terracotta: #C86446;
  --color-terracotta-hover: #B05034;
  --color-dusty-orange: #E08758;
  --color-muted-teal: #4E7D82;
  --color-muted-teal-dark: #2F5358;
  --color-dark-brown: #241A16;

  --glass-bg: rgba(251, 249, 245, 0.78);
  --glass-bg-hover: rgba(251, 249, 245, 0.92);
  --glass-border: rgba(200, 100, 70, 0.22);
  --glass-border-teal: rgba(78, 125, 130, 0.25);
  --glass-shadow: 0 16px 36px -10px rgba(36, 26, 22, 0.08), 0 0 1px 1px rgba(255, 255, 255, 0.6) inset;
  --glass-shadow-hover: 0 24px 44px -8px rgba(200, 100, 70, 0.15), 0 0 1px 1px rgba(255, 255, 255, 0.9) inset;
  
  --radius-organic-1: 24px 8px 28px 12px;
  --radius-organic-2: 12px 28px 14px 26px;
  --radius-pill: 9999px;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-heat: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: 
    radial-gradient(circle at 10% 20%, rgba(224, 135, 88, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(78, 125, 130, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(200, 100, 70, 0.06) 0%, transparent 50%),
    var(--color-bg);
  background-attachment: fixed;
}

/* Typography with wide, architectural proportions */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

p.lead {
  font-size: 1.22rem;
  color: var(--color-text-main);
  line-height: 1.75;
}

a {
  color: var(--color-terracotta);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--color-terracotta-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Glass Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 235, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-dark-brown);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-logo svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 4px 8px rgba(200, 100, 70, 0.25));
}

.site-logo span.accent {
  color: var(--color-terracotta);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-main);
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-terracotta);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-text-main);
}

/* Glass Buttons with Heat Ripple Distortion */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-organic-1);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: var(--transition-heat);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-dusty-orange) 100%);
  color: var(--color-cream);
  box-shadow: 0 8px 20px -4px rgba(200, 100, 70, 0.35);
}

.btn-primary:hover {
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.02) skew(-0.8deg);
  box-shadow: 0 14px 28px -4px rgba(200, 100, 70, 0.45), 0 0 12px rgba(224, 135, 88, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-text-main);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.btn-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--glass-shadow-hover);
}

.btn-teal {
  background: linear-gradient(135deg, var(--color-muted-teal) 0%, var(--color-muted-teal-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -4px rgba(78, 125, 130, 0.35);
}

.btn-teal:hover {
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.02) skew(0.8deg);
  box-shadow: 0 14px 28px -4px rgba(78, 125, 130, 0.45);
}

/* Glass Cards & Elements */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-organic-1);
  box-shadow: var(--glass-shadow);
  padding: 2.2rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(200, 100, 70, 0.4);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-3px);
}

.glass-card-teal {
  border-color: var(--glass-border-teal);
  background: rgba(251, 249, 245, 0.85);
}

.glass-card-teal:hover {
  border-color: var(--color-muted-teal);
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: rgba(200, 100, 70, 0.12);
  color: var(--color-terracotta-hover);
  border: 1px solid rgba(200, 100, 70, 0.25);
  margin-bottom: 1rem;
}

.badge-teal {
  background: rgba(78, 125, 130, 0.12);
  color: var(--color-muted-teal-dark);
  border-color: rgba(78, 125, 130, 0.25);
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  font-weight: 800;
  line-height: 1.12;
}

.hero-title span.highlight {
  color: var(--color-terracotta);
  display: inline-block;
  position: relative;
}

.hero-title span.highlight::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(224, 135, 88, 0.22);
  z-index: -1;
  border-radius: 4px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.8rem;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-organic-2);
  overflow: hidden;
  box-shadow: var(--glass-shadow-hover);
  border: 1px solid var(--glass-border);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-stat-floating {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius-organic-1);
  box-shadow: 0 16px 32px rgba(36, 26, 22, 0.12);
  max-width: 260px;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--color-terracotta);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-stat-label {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Section styling */
.section-padding {
  padding: 5rem 0;
}

.section-padding-sm {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

/* Service Card Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card-image {
  height: 220px;
  border-radius: 16px 8px 18px 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--glass-border);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.service-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  border-top: 1px dashed var(--glass-border);
  padding-top: 1rem;
  margin-top: auto;
}

.service-meta-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-meta-list strong {
  color: var(--color-text-main);
  font-weight: 600;
}

/* Flagship Banner / Highlight */
.flagship-highlight {
  background: linear-gradient(135deg, rgba(200, 100, 70, 0.08) 0%, rgba(78, 125, 130, 0.08) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-organic-1);
  padding: 3rem;
  margin-top: 3.5rem;
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

/* Reviews & Testimonials */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-main);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.review-author {
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-dark-brown);
}

.author-role {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.author-service {
  font-size: 0.82rem;
  color: var(--color-terracotta);
  font-weight: 600;
}

/* Blog / Journal Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-card-img {
  height: 220px;
  overflow: hidden;
  border-radius: 16px 8px 18px 8px;
  margin-bottom: 1.2rem;
  border: 1px solid var(--glass-border);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

/* Schedule / Table Styling */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius-organic-1);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
}

.desert-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.desert-table th {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark-brown);
  background: rgba(200, 100, 70, 0.08);
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.desert-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(200, 100, 70, 0.1);
  font-size: 0.98rem;
  color: var(--color-text-main);
}

.desert-table tr:last-child td {
  border-bottom: none;
}

.desert-table tr:hover td {
  background: rgba(251, 249, 245, 0.9);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-dark-brown);
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-main);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(200, 100, 70, 0.2);
  background: #FFFFFF;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-message {
  display: none;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  margin-top: 1.5rem;
}

.form-message.success {
  display: block;
  background: rgba(78, 125, 130, 0.15);
  border: 1px solid var(--color-muted-teal);
  color: var(--color-muted-teal-dark);
}

.form-message.error {
  display: block;
  background: rgba(200, 100, 70, 0.15);
  border: 1px solid var(--color-terracotta);
  color: var(--color-terracotta-hover);
}

/* Contact Page Grid */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 100, 70, 0.12);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-terracotta);
  flex-shrink: 0;
}

/* Article Page */
.article-header {
  max-width: 840px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.article-hero-image {
  max-width: 960px;
  margin: 0 auto 3rem;
  border-radius: var(--radius-organic-1);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.article-hero-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.85;
}

.article-body p {
  margin-bottom: 1.6rem;
  font-size: 1.12rem;
}

.article-body h2 {
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  margin: 2rem 0 0.8rem;
}

.article-body ul, .article-body ol {
  margin: 1.2rem 0 1.8rem 1.5rem;
  color: var(--color-text-muted);
}

.article-body li {
  margin-bottom: 0.6rem;
}

.article-body blockquote {
  border-left: 4px solid var(--color-terracotta);
  padding: 1.2rem 1.8rem;
  margin: 2rem 0;
  background: rgba(200, 100, 70, 0.06);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-dark-brown);
}

/* Legal Pages */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  margin: 2.2rem 0 0.8rem;
}

.legal-content h3 {
  margin: 1.6rem 0 0.6rem;
}

.legal-content p {
  margin-bottom: 1.2rem;
}

.legal-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--color-text-muted);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Cookie Banner Island */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 460px;
  z-index: 999;
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-organic-1);
  box-shadow: 0 20px 48px rgba(36, 26, 22, 0.2);
  padding: 1.6rem;
  display: none;
  animation: slideUp 0.4s ease-out forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark-brown);
  margin-bottom: 0.5rem;
}

.cookie-banner-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.84rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #1E1613;
  color: #E6DCD6;
  border-top: 1px solid rgba(200, 100, 70, 0.3);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: #FBF9F5;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: #B5A59C;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #FBF9F5;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #B5A59C;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-dusty-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: #8E7E75;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .flagship-grid, .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 239, 235, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stat-floating {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}
