/* ============================================================
   WICKLOW RESIN & PAVING — STYLESHEET
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --primary:       #1c2b3a;
  --primary-light: #243547;
  --accent:        #e8891a;
  --accent-dark:   #c4720f;
  --accent-light:  #f5a840;
  --green:         #2d7d46;
  --blue:          #3b6ea5;
  --dark:          #111827;
  --gray-dark:     #374151;
  --gray:          #6b7280;
  --gray-light:    #e5e7eb;
  --light:         #f8f6f3;
  --white:         #ffffff;

  --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-md:  0 8px 24px rgba(0, 0, 0, 0.11);
  --shadow-lg:  0 20px 60px rgba(0, 0, 0, 0.16);
  --shadow-xl:  0 32px 80px rgba(0, 0, 0, 0.22);

  --radius:    16px;
  --radius-sm: 8px;
  --transition: 0.35s ease;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;
}

/* ============================================================
   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(--dark);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1rem; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 100px 0; }

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-tag {
  display: inline-block;
  background: rgba(232, 137, 26, 0.12);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.required { color: var(--accent); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 137, 26, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--accent-dark);
}

.btn-white {
  background: var(--white);
  color: var(--accent-dark);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: var(--primary);
  padding: 12px 0;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.25);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
}

/* Underline slide-in for regular nav links */
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--white);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm) !important;
  margin-left: 12px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 137, 26, 0.45);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/image017.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 43, 58, 0.88) 0%,
    rgba(28, 43, 58, 0.62) 55%,
    rgba(232, 137, 26, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 28px 60px;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  background: rgba(232, 137, 26, 0.2);
  border: 1px solid rgba(232, 137, 26, 0.45);
  color: var(--accent-light);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-content h1 {
  color: var(--white);
  font-weight: 900;
  margin-bottom: 24px;
  max-width: 700px;
}

.hero-accent { color: var(--accent); }

.hero-content p {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 540px;
  margin-bottom: 44px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(255, 255, 255, 0.55);
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0);   opacity: 0.55; }
  50%       { transform: rotate(45deg) translateY(7px); opacity: 1;    }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--primary);
  padding: 52px 0;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-item {
  text-align: center;
  padding: 24px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { transform: translateY(-3px); }

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
}

/* Gradient overlay — fades in on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-gradient, linear-gradient(135deg, #e8891a, #c4720f));
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before { opacity: 1; }

.service-card-inner {
  position: relative;
  z-index: 1;
  padding: 44px 40px;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  color: var(--accent);
  transition: color 0.4s ease, transform 0.4s ease;
}

.service-card:hover .service-icon {
  color: rgba(255, 255, 255, 0.92);
  transform: scale(1.1) rotate(-6deg);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 14px;
  font-size: 1.45rem;
  transition: color 0.4s ease;
}

.service-card:hover h3 { color: var(--white); }

.service-card > .service-card-inner > p {
  color: var(--gray);
  margin-bottom: 22px;
  line-height: 1.75;
  transition: color 0.4s ease;
}

.service-card:hover > .service-card-inner > p { color: rgba(255, 255, 255, 0.88); }

.service-features { margin-bottom: 28px; }

.service-features li {
  color: var(--gray-dark);
  font-size: 0.9rem;
  padding: 5px 0 5px 22px;
  position: relative;
  border-bottom: 1px solid var(--gray-light);
  transition: color 0.4s ease, border-color 0.4s ease;
}

.service-features li:last-child { border-bottom: none; }

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  top: 6px;
  transition: color 0.4s ease;
}

.service-card:hover .service-features li {
  color: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.service-card:hover .service-features li::before { color: rgba(255, 255, 255, 0.9); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.4s ease, gap 0.3s ease;
}

.service-card:hover .service-link {
  color: var(--white);
  gap: 12px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  padding: 20px 0 60px 32px;
}

.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-main:hover img { transform: scale(1.04); }

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: -24px;
  width: 52%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-secondary:hover img { transform: scale(1.04); }

.about-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--accent);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-top: 5px;
}

.about-content h2 {
  color: var(--primary);
  margin-bottom: 24px;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--gray-dark);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.85;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 32px 0 40px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-light);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.about-feature:hover {
  border-color: var(--accent);
  background: rgba(232, 137, 26, 0.05);
  transform: translateY(-2px);
}

.feature-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.about-feature div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.about-feature strong {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--primary);
}

.about-feature span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ============================================================
   INFO SECTION (Surfaces Explained)
   ============================================================ */
.info-section { background: var(--light); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.info-card-header {
  padding: 32px 32px 28px;
  position: relative;
  overflow: hidden;
}

.info-card-header::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.info-card-header h3 {
  color: var(--white);
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

.info-resin    { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.info-block    { background: linear-gradient(135deg, #3b6ea5, #1c4d8a); }
.info-tarmac   { background: linear-gradient(135deg, #4a4a4a, #1a1a1a); }
.info-landscape { background: linear-gradient(135deg, var(--green), #1a5c31); }

.info-card-body {
  padding: 28px 32px 32px;
}

.info-card-body p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.info-list {
  margin-top: 16px;
  border-top: 1px solid var(--gray-light);
  padding-top: 16px;
}

.info-list li {
  font-size: 0.875rem;
  color: var(--gray-dark);
  padding: 5px 0 5px 18px;
  position: relative;
}

.info-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   MARISEAL SECTION
   ============================================================ */
.mariseal-section { background: var(--light); }

.mariseal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 60px;
}

.mariseal-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mariseal-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mariseal-img-main:hover img { transform: scale(1.04); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--gray-dark);
}

.gallery-item.gallery-wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.gallery-item.gallery-wide img { height: 330px; }

.gallery-item:hover img { transform: scale(1.09); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 43, 58, 0.92) 0%,
    rgba(28, 43, 58, 0.35) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
  width: fit-content;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--primary);
  overflow: hidden;
}

.testimonials .section-header h2 { color: var(--white); }

.testimonials .section-tag {
  background: rgba(232, 137, 26, 0.18);
  color: var(--accent-light);
}

.testimonials-track {
  max-width: 840px;
  margin: 0 auto;
}

.testimonial-slider {
  position: relative;
  height: 310px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 48px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.stars {
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.testimonial-author span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.t-prev, .t-next {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.t-prev:hover, .t-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

.t-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background var(--transition), width var(--transition), border-radius var(--transition);
  border: none;
  padding: 0;
}

.t-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 4px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle dot-pattern texture */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  margin-bottom: 44px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  border-left: 4px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: border-left-color var(--transition), background var(--transition), transform var(--transition);
}

.contact-card:hover {
  border-left-color: var(--accent);
  background: rgba(232, 137, 26, 0.04);
  transform: translateX(5px);
}

.contact-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-card h4 {
  color: var(--primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.contact-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
  transition: color var(--transition);
}

.contact-card a:hover { color: var(--accent-dark); }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 52px 48px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 137, 26, 0.14);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 16px;
  background: rgba(45, 125, 70, 0.1);
  border: 1px solid rgba(45, 125, 70, 0.3);
  border-radius: var(--radius-sm);
  color: var(--green);
  font-size: 0.95rem;
  margin-top: 16px;
}

.form-success.show { display: block; }

.form-error {
  display: none;
  text-align: center;
  padding: 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: var(--radius-sm);
  color: #dc2626;
  font-size: 0.95rem;
  margin-top: 16px;
}

.form-error.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.85;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-4px);
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li,
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger sibling cards */
.services-grid  .fade-in:nth-child(2) { transition-delay: 0.1s; }
.services-grid  .fade-in:nth-child(3) { transition-delay: 0.2s; }
.services-grid  .fade-in:nth-child(4) { transition-delay: 0.3s; }

.info-grid      .fade-in:nth-child(2) { transition-delay: 0.1s; }
.info-grid      .fade-in:nth-child(3) { transition-delay: 0.2s; }
.info-grid      .fade-in:nth-child(4) { transition-delay: 0.3s; }

.gallery-grid   .fade-in:nth-child(2) { transition-delay: 0.08s; }
.gallery-grid   .fade-in:nth-child(3) { transition-delay: 0.14s; }
.gallery-grid   .fade-in:nth-child(4) { transition-delay: 0.20s; }
.gallery-grid   .fade-in:nth-child(5) { transition-delay: 0.26s; }
.gallery-grid   .fade-in:nth-child(6) { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid       { gap: 48px; }
  .mariseal-grid    { gap: 48px; }
  .contact-grid     { gap: 36px; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-img-secondary { right: 0; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  section { padding: 72px 0; }

  /* Nav */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 28px 40px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.35);
    gap: 4px;
    z-index: 1050;
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    width: 100%;
    padding: 13px 16px;
    font-size: 1rem;
  }

  .nav-cta { margin-left: 0; width: 100%; text-align: center; }

  /* Overlay when mobile menu open */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
  }

  /* Hero */
  .hero-content { padding-top: 120px; }
  .hero-buttons { flex-direction: column; max-width: 260px; }

  /* Stats */
  .stats-container { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 32px;
  }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card-inner { padding: 32px 28px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 0; }
  .about-images { margin-bottom: 60px; padding-left: 16px; }

  /* Mariseal */
  .mariseal-grid { grid-template-columns: 1fr; gap: 0; }
  .mariseal-images { margin-bottom: 48px; }
  .about-img-secondary { right: 0; bottom: -20px; }
  .about-features { grid-template-columns: 1fr; }

  /* Info */
  .info-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.gallery-wide { grid-column: span 2; }

  /* Testimonials */
  .testimonial-card { padding: 32px 24px; }
  .testimonial-slider { height: 360px; }

  /* Contact */
  .contact-grid  { grid-template-columns: 1fr; }
  .contact-form  { padding: 32px 24px; }
  .form-row      { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.gallery-wide { grid-column: span 1; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .about-images { padding-left: 0; }
  .about-badge  { top: -16px; left: 16px; }
  .about-img-secondary { width: 60%; right: 0; }
  .stats-container { grid-template-columns: 1fr 1fr; }
}
