@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@600;700&family=Fraunces:wght@600;700&display=swap&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  --primary: #1f4a73;
  --primary-dark: #132f4b;
  --primary-light: #2f5f8c;
  --bg-main: #f6f1ea;
  --bg-alt: #e7dccb;
  --text-main: #101b28;
  --text-muted: #4c5b68;
  --accent-cta: #e3c285;
  --border-soft: rgba(19, 47, 75, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 40px rgba(8, 20, 32, 0.12);
  --shadow-strong: 0 20px 48px rgba(8, 20, 32, 0.2);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --gutter: clamp(16px, 4vw, 28px);

  --header-height: 82px;
  --header-height-900px: 74px;
  --header-height-600px: 120px;

  --z-base: 0;
  --z-header: 10;
  --z-overlay: 100;
  --z-modal: 1000;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(19, 47, 75, 0.18), rgba(19, 47, 75, 0) 62%),
    radial-gradient(700px 420px at 5% 10%, rgba(242, 138, 91, 0.12), rgba(242, 138, 91, 0) 65%),
    linear-gradient(180deg, #f6f1ea 0%, #e6dac9 100%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 2px solid var(--accent-cta);
  outline-offset: 2px;
}

main,
.header-inner,
.footer-inner {
  width: min(1100px, calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.material-symbols-outlined {
  margin-right: var(--space-1);
}

header {
  /*
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  */
  
  background: linear-gradient(135deg, #143454 0%, #132f4b 55%, #0f273c 100%);
  border-bottom: 1px solid rgba(227, 194, 133, 0.24);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(8, 20, 32, 0.14);
  transition: box-shadow 0.2s ease;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.logo-container {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-container img {
  width: clamp(46px, 7vw, 64px);
  border-radius: 10px;
  flex-shrink: 0;
}

header h1 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  letter-spacing: 0.6px;
  color: #f7f1e8;
  text-transform: uppercase;
}

nav {
  min-width: 0;
}

nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: #f7f1e8;
  padding-block: var(--space-2);
  letter-spacing: 0.35px;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--accent-cta);
  transition: width 0.2s ease;
}

nav a.active::after,
nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}


nav a.active,
nav a:hover,
nav a:focus-visible {
  color: var(--accent-cta);
}

main {
  padding-block: clamp(20px, 4vw, 48px) clamp(48px, 6vw, 80px);
}

main > section {
  padding-block: clamp(24px, 4vw, 44px);
}

section > p {
  margin-top: var(--space-4);
}

section + section {
  margin-top: var(--space-4);
}

h2 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.55rem, 3.4vw, 2.1rem);
  color: var(--primary);
  letter-spacing: 0.3px;
  margin-bottom: var(--space-4);
}

p {
  font-size: 19px;
  color: var(--text-muted);
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
}

.card-shapes {
  position: relative;
  overflow: hidden;
}

.card-shapes::before, .card-shapes::after {
  content: '';
  position: absolute;
  
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.card-shapes::before {
  right: -70px;
  bottom: -80px;
  width: 190px;
  background: rgba(242, 138, 91, 0.1);
}

.card-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-top: var(--space-6);
}

.card-grid img {
  background: url('/images/placeholder.svg') center / cover no-repeat;
}

.card-link:hover {
  opacity: 0.85;
}

.card-link:hover .card {
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.card {
  position: relative;
  min-width: 0;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, var(--bg-alt) 100%);
  box-shadow: var(--shadow-soft);

  transition: transform 0.2s ease, box-shadow 0.2s ease;

  margin-bottom: var(--space-4);
}

.card h3 {
  margin-bottom: var(--space-4);
  text-align: center;
  text-transform: capitalize;
  padding-right: 108px;
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  line-height: 1.28;
  color: var(--primary-dark);
}

.card p {
  text-indent: var(--space-3);
  font-weight: normal;
}

.card p::first-letter {
  text-transform: uppercase;
}

.card .date {
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-2);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.project-card p {
  font-size: 16px;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */

#hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 60px);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(19, 47, 75, 0.22), transparent 50%),
    radial-gradient(ellipse 60% 80% at 95% 100%, rgba(227, 194, 133, 0.18), transparent 50%),
    linear-gradient(155deg, #143454 0%, #1a3d5f 30%, #0f273c 70%, #0b1e2f 100%);
  color: #f7f1e8;
  box-shadow:
    0 24px 56px rgba(8, 20, 32, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 194, 133, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: hero-glow-pulse 6s ease-in-out infinite alternate;
}

@keyframes hero-glow-pulse {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0.85; transform: scale(1.12); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 60px);
}

.hero-content {
  flex: 1 1 55%;
  min-width: 0;
}

.hero-gallery {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  animation: fade-in-up 0.8s 0.5s ease both;
}

.hero-photo {
  width: clamp(200px, 18vw, 280px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(227, 194, 133, 0.2);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.hero-photo:first-child {
  transform: rotate(2deg);
}

.hero-photo:last-child {
  transform: rotate(-2.5deg);
}

.hero-photo:hover {
  transform: rotate(0deg) scale(1.04);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(227, 194, 133, 0.35);
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(227, 194, 133, 0.4);
  background: rgba(227, 194, 133, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent-cta);
  margin-bottom: var(--space-5);
  animation: fade-in-up 0.6s ease both;
}

#hero h2 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #f7f1e8;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-3);
  animation: fade-in-up 0.6s 0.1s ease both;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--accent-cta) !important;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-5) !important;
  animation: fade-in-up 0.6s 0.2s ease both;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem) !important;
  color: rgba(247, 241, 232, 0.82) !important;
  line-height: 1.75;
  margin-bottom: var(--space-4) !important;
  animation: fade-in-up 0.6s 0.3s ease both;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
  animation: fade-in-up 0.6s 0.45s ease both;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 13px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e3c285 0%, #caa86a 100%);
  color: #10253d;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  box-shadow: 0 12px 28px rgba(12, 26, 40, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn:hover,
.hero-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(12, 26, 40, 0.4);
}

.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 13px 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(227, 194, 133, 0.5);
  color: #f7f1e8;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-btn-outline:hover,
.hero-btn-outline:focus-visible {
  background: rgba(227, 194, 133, 0.12);
  border-color: rgba(227, 194, 133, 0.7);
  transform: translateY(-1px);
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════ */

.section-header {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(19, 47, 75, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.section-header h2 {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════
   SERVICES GRID
   ═══════════════════════════════════════════ */

#services {
  padding-block: clamp(32px, 5vw, 56px);
}

.services-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.92) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-cta) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card--featured {
  grid-column: 1 / -1;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(227, 194, 133, 0.12), transparent 50%),
    radial-gradient(120% 120% at 10% 0%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.92) 0%, var(--bg-alt) 100%);
  border: 1.5px solid rgba(227, 194, 133, 0.3);
}

.service-card--featured::before {
  opacity: 1;
  background: linear-gradient(90deg, var(--accent-cta) 0%, var(--primary) 50%, var(--accent-cta) 100%);
}

.service-card--featured .service-icon {
  background: linear-gradient(135deg, var(--accent-cta) 0%, #d4a94e 100%);
  color: #10253d;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #f7f1e8;
  margin-bottom: var(--space-5);
  box-shadow: 0 8px 20px rgba(19, 47, 75, 0.2);
}

.service-icon .material-symbols-outlined {
  font-size: 26px;
  margin: 0;
}

.service-body h3 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--primary-dark);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.service-body > p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.service-list {
  display: grid;
  gap: var(--space-3);
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-main);
}

.service-list .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary);
  margin-top: 2px;
  margin-right: 0;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   EMPTY PROJECTS
   ═══════════════════════════════════════════ */

.empty-projects {
  text-align: center;
  padding: clamp(32px, 5vw, 56px) var(--space-5);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86) 0%, var(--bg-alt) 100%);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-soft);
}

.empty-projects .material-symbols-outlined {
  font-size: 48px;
  color: var(--primary);
  opacity: 0.4;
  margin-bottom: var(--space-4);
  display: block;
}

.empty-projects p {
  max-width: 50ch;
  margin-inline: auto;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════
   FEATURED CARD PHOTO (Salle de bain)
   ═══════════════════════════════════════════ */

.featured-layout {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 40px);
  margin-top: var(--space-4);
}

.featured-layout .service-list {
  flex: 1 1 60%;
  min-width: 0;
}

.featured-photo {
  flex: 0 0 auto;
  width: clamp(180px, 18vw, 260px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(227, 194, 133, 0.25);
  transform: rotate(3deg);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
  align-self: center;
}

.featured-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-photo:hover {
  transform: rotate(0deg) scale(1.04);
  box-shadow: var(--shadow-strong);
}

.featured-photo:hover img {
  transform: scale(1.06);
}

/* ═══════════════════════════════════════════
   COMPLEMENTARY ROW (Travaux + Photos)
   ═══════════════════════════════════════════ */

.complementary-row {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(24px, 4vw, 44px);
}

.complementary-row .service-card {
  flex: 1 1 45%;
  min-width: 0;
  margin-bottom: 0;
}

.complementary-gallery {
  flex: 1 1 50%;
  display: flex;
  gap: var(--space-5);
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
}

.complementary-photo {
  position: relative;
  width: clamp(180px, 16vw, 240px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 2px solid var(--border-soft);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.complementary-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.complementary-photo--left {
  transform: rotate(-3deg) translateY(-16px);
}

.complementary-photo--right {
  transform: rotate(3deg) translateY(16px);
}

.complementary-photo:hover {
  transform: rotate(0deg) translateY(0) scale(1.04);
  box-shadow: var(--shadow-strong);
  z-index: 2;
}

.complementary-photo:hover img {
  transform: scale(1.06);
}

.showcase-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(to top, rgba(15, 39, 60, 0.85) 0%, transparent 100%);
  color: #f7f1e8;
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════ */

.service-card {
  opacity: 0;
  transform: translateY(30px);
  animation: card-reveal 0.6s ease forwards;
}

.services-grid > :nth-child(1) { animation-delay: 0.05s; }
.services-grid > :nth-child(2) { animation-delay: 0.12s; }
.services-grid > :nth-child(3) { animation-delay: 0.19s; }
.services-grid > :nth-child(4) { animation-delay: 0.26s; }

.complementary-row .service-card { animation-delay: 0.35s; }

.complementary-gallery {
  opacity: 0;
  transform: translateY(24px);
  animation: card-reveal 0.7s 0.45s ease forwards;
}

@keyframes card-reveal {
  to { opacity: 1; transform: translateY(0); }
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid #d8ccbc;
  background: #fbf7f1;
  color: var(--text-main);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 106, 155, 0.2);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button {
  border: none;
  cursor: pointer;
}

footer {
  margin-top: clamp(30px, 6vw, 72px);
  color: #f7f1e8;
}

.footer-sky {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 8vw, 78px) clamp(28px, 6vw, 58px);
  background:
    radial-gradient(600px 240px at 15% -10%, rgba(244, 230, 200, 0.22), rgba(19, 47, 75, 0) 60%),
    radial-gradient(520px 280px at 85% 10%, rgba(19, 47, 75, 0.75), rgba(19, 47, 75, 0) 60%),
    linear-gradient(180deg, #143454 0%, #0f273c 100%);
  box-shadow: 0 -18px 42px rgba(8, 20, 32, 0.26);
}

.footer-sky::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.32;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-5);
}

.footer-badge {
  justify-self: start;
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  border: 1px solid rgba(244, 230, 200, 0.35);
  background: rgba(244, 230, 200, 0.16);
  font-size: 0.82rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 600;
}

.footer h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #f7f1e8;
}

.footer p {
  color: rgba(247, 241, 232, 0.8);
  max-width: 60ch;
}

.footer-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-5);
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d9c08a 0%, #caa86a 100%);
  color: #10253d;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 12px 22px rgba(12, 26, 40, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-btn:hover,
.footer-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(12, 26, 40, 0.32);
}

.footer-phone {
  display: flex;
  align-items: center;

  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(247, 241, 232, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.footer-card {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(244, 230, 200, 0.18);
}

.footer-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.08rem;
  margin-bottom: var(--space-2);
  color: #f7f1e8;
}

.footer-card p {
  color: rgba(247, 241, 232, 0.78);
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(244, 230, 200, 0.25);
  color: rgba(247, 241, 232, 0.75);
  font-size: 0.9rem;
}

.footer-signet {
  padding: 6px var(--space-3);
  border-radius: 999px;
  border: 1px solid rgba(244, 230, 200, 0.35);
  color: rgba(247, 241, 232, 0.88);
  letter-spacing: 0.7px;
}

.footer-orbit {
  position: absolute;
  top: 40px;
  right: -72px;
  width: min(240px, 45vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(244, 230, 200, 0.35);
  box-shadow: 0 0 0 16px rgba(244, 230, 200, 0.08);
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: var(--header-height-900px);
    gap: var(--space-4);
  }

  nav ul {
    gap: var(--space-4);
  }

  main {
    padding-block: var(--space-5) 52px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card--featured {
    grid-column: auto;
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero-gallery {
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }

  .hero-photo {
    width: clamp(160px, 35vw, 220px);
  }

  .hero-photo:first-child {
    transform: rotate(2deg);
  }

  .hero-photo:last-child {
    transform: rotate(-2deg);
  }

  .complementary-row {
    flex-direction: column;
  }

  .complementary-gallery {
    width: 100%;
    min-height: auto;
    justify-content: center;
  }

  .complementary-photo {
    width: clamp(160px, 35vw, 220px);
  }

  .featured-layout {
    flex-direction: column;
    align-items: center;
  }

  .featured-photo {
    width: clamp(180px, 45vw, 240px);
  }
}

@media (max-width: 600px) {
  .header-inner {
    min-height: var(--header-height-600px);
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    padding-block: var(--space-3);
  }

  .header-inner > a {
    align-self: center;
  }

  .logo-container {
    justify-content: center;
  }

  header h1 {
    text-align: center;
  }

  nav ul {
    justify-content: center;
    gap: var(--space-3) var(--space-4);
  }

  main > section {
    padding-block: var(--space-5);
  }

  #hero {
    padding: clamp(28px, 5vw, 40px) var(--space-5);
  }

  .hero-photo {
    width: clamp(130px, 40vw, 180px);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn,
  .hero-btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-btn,
  .footer-phone {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Public visual refresh */
:root {
  --border-strong: rgba(19, 47, 75, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-soft: 0 14px 30px rgba(20, 42, 62, 0.1);
  --shadow-strong: 0 18px 38px rgba(20, 42, 62, 0.16);
}

body {
  background: #f7f3ec;
}

body::before,
.hero-glow,
.footer-orbit {
  display: none;
}

main,
.header-inner,
.footer-inner {
  width: min(1160px, calc(100% - (2 * var(--gutter))));
}

header {
  background: #12304c;
  box-shadow: 0 4px 16px rgba(12, 30, 47, 0.12);
}

main {
  padding-block: 28px 72px;
}

p {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

h2,
header h1,
.card h3,
.service-body h3,
.footer h2 {
  letter-spacing: 0;
}

#hero {
  padding: 56px;
  border-radius: 18px;
  background: linear-gradient(145deg, #15314a 0%, #10263a 100%);
  box-shadow: var(--shadow-strong);
}

#hero::before {
  background:
    linear-gradient(90deg, rgba(227, 194, 133, 0.14) 0, rgba(227, 194, 133, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  background-size: auto;
  opacity: 1;
}

.hero-inner {
  align-items: stretch;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(430px, 40%);
  gap: 14px;
}

.hero-photo {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(227, 194, 133, 0.24);
  box-shadow: 0 16px 30px rgba(7, 16, 25, 0.24);
}

.hero-photo:first-child,
.hero-photo:last-child,
.hero-photo:hover {
  transform: none;
}

.hero-photo:first-child {
  margin-top: 36px;
}

.hero-photo:last-child {
  margin-bottom: 36px;
}

.hero-photo img {
  height: 100%;
  aspect-ratio: 3 / 4;
}

.hero-badge,
.section-badge,
.footer-badge {
  border-radius: 4px;
  background: transparent;
  letter-spacing: 0.08em;
}

#hero h2 {
  font-size: 3rem;
  letter-spacing: 0;
}

.hero-subtitle {
  font-size: 1.15rem;
}

.hero-desc {
  max-width: 62ch;
}

.hero-btn,
.hero-btn-outline,
.footer-btn {
  border-radius: 8px;
  box-shadow: none;
}

.hero-btn {
  background: #e3c285;
}

.hero-btn-outline {
  background: transparent;
}

.hero-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--space-3);
  max-width: 680px;
}

.hero-cta .hero-btn,
.hero-cta .hero-btn-outline {
  width: 100%;
  min-height: 64px;
  padding-inline: 18px;
  text-align: center;
}

.card-grid {
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card,
.service-card,
.compare-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: #fbf8f2;
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 0;
  overflow: hidden;
}

.card-shapes::before,
.card-shapes::after {
  display: none;
}

.card h3 {
  padding-right: 0;
  text-align: left;
  text-transform: none;
}

.card p {
  text-indent: 0;
}

.card .date {
  position: static;
  display: block;
  margin-top: var(--space-5);
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
}

.project-card--with-media {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e7dccb;
  border-bottom: 1px solid var(--border-soft);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__media--placeholder img {
  object-fit: cover;
}

.project-card__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.project-card__body h3 {
  margin-bottom: var(--space-3);
}

.project-card__body p {
  flex: 1;
}

#marked-projects .section-header {
  margin-bottom: clamp(20px, 3vw, 30px);
}

.featured-projects-lead {
  max-width: 62ch;
  margin: var(--space-3) auto 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.projects-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 230px);
  align-items: stretch;
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, #fbf8f2 0%, #f3eadc 100%);
  box-shadow: var(--shadow-soft);
}

.projects-intro h2 {
  max-width: 18ch;
  margin-bottom: var(--space-3);
}

.projects-intro p {
  max-width: 66ch;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.projects-intro__aside {
  display: grid;
  align-content: center;
  gap: var(--space-2);
  padding: 18px;
  border-radius: 12px;
  background: #12304c;
  color: #f7f1e8;
  text-align: center;
}

.projects-intro__count {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: #e3c285;
}

.projects-intro__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 42px;
  margin-top: var(--space-3);
  padding: 9px 13px;
  border-radius: 8px;
  background: #e3c285;
  color: #10253d;
  font-size: 0.86rem;
  font-weight: 700;
}

.projects-intro__link .material-symbols-outlined {
  margin: 0;
  font-size: 18px;
}

.projects-list-section {
  margin-top: clamp(30px, 5vw, 54px);
}

#marked-projects .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 340px));
  justify-content: center;
  gap: 18px;
  margin-top: var(--space-5);
}

.projects-list-section .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  gap: 22px;
}

#marked-projects .project-card__media,
.projects-list-section .project-card__media {
  aspect-ratio: 4 / 3;
}

#marked-projects .project-card__body,
.projects-list-section .project-card__body {
  gap: var(--space-3);
  min-height: 0;
  padding: 16px;
  background:
    linear-gradient(180deg, #fffdf8 0%, #fbf4e8 100%);
}

.project-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

#marked-projects .project-card__head h3,
.projects-list-section .project-card__head h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0;
  text-transform: capitalize;
}

#marked-projects .project-card__body p,
.projects-list-section .project-card__body p {
  display: -webkit-box;
  flex: 0;
  overflow: hidden;
  font-size: 0.93rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#marked-projects .card .date,
.projects-list-section .card .date {
  flex-shrink: 0;
  margin-top: 0;
  padding: 5px 8px;
  border: 1px solid rgba(31, 74, 115, 0.14);
  border-radius: 999px;
  background: #f0e7d8;
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.project-card__action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: fit-content;
  margin-top: var(--space-1);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.project-card__action .material-symbols-outlined {
  margin: 0;
  font-size: 18px;
  transition: transform 0.2s ease;
}

#marked-projects .card-link:hover .project-card__action .material-symbols-outlined,
#marked-projects .card-link:focus-visible .project-card__action .material-symbols-outlined,
.projects-list-section .card-link:hover .project-card__action .material-symbols-outlined,
.projects-list-section .card-link:focus-visible .project-card__action .material-symbols-outlined {
  transform: translateX(3px);
}

.featured-projects-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  max-width: 760px;
  margin: clamp(22px, 3vw, 32px) auto 0;
  padding: 18px 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: #fbf8f2;
  box-shadow: var(--shadow-soft);
}

.featured-projects-cta p {
  color: var(--primary-dark);
  font-size: 0.98rem;
  font-weight: 600;
}

.featured-projects-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 8px;
  background: #e3c285;
  color: #10253d;
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}

.featured-projects-link .material-symbols-outlined {
  margin: 0;
  font-size: 20px;
}

.featured-projects-link:hover,
.featured-projects-link:focus-visible {
  background: #d8b570;
}

.card-link:hover {
  opacity: 1;
}

.card-link:hover .card {
  box-shadow: var(--shadow-strong);
  transform: translateY(-3px);
}

.project-detail-heading,
.empty-projects {
  padding: clamp(24px, 4vw, 36px);
}

.projects-list-section > h2,
.project-detail-section > h2 {
  margin-bottom: var(--space-5);
}

.services-grid {
  gap: 18px;
}

.service-card {
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card,
.complementary-gallery {
  opacity: 1;
  transform: none;
  animation: none;
}

.service-card::before {
  height: 2px;
  background: #e3c285;
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-icon,
.service-card--featured .service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eef3f6;
  color: var(--primary-dark);
  box-shadow: none;
}

.service-body > p,
.project-card p {
  font-size: 0.96rem;
}

.service-list li {
  font-size: 0.92rem;
}

.service-list .material-symbols-outlined {
  color: #2f5f8c;
}

.service-card--featured {
  background: #fffaf2;
  border-color: rgba(31, 74, 115, 0.2);
}

.featured-photo,
.complementary-photo {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.featured-photo,
.featured-photo:hover,
.complementary-photo--left,
.complementary-photo--right,
.complementary-photo:hover {
  transform: none;
}

.featured-photo img,
.complementary-photo img {
  object-fit: cover;
}

.complementary-row {
  align-items: stretch;
}

.complementary-gallery {
  min-height: auto;
}

.showcase-label {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.86rem;
  background: linear-gradient(to top, rgba(16, 35, 55, 0.84), rgba(16, 35, 55, 0));
}

.project-detail-heading {
  background:
    linear-gradient(135deg, #fbf8f2 0%, #f5ecdc 100%);
}

.project-detail-heading__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
}

.project-detail-heading .section-badge {
  margin-bottom: var(--space-4);
}

.project-detail-heading h2 {
  margin-bottom: var(--space-3);
}

.project-detail-heading p {
  max-width: 64ch;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.project-detail-heading__meta {
  flex-shrink: 0;
  padding-top: var(--space-1);
}

.project-detail-heading__date {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(31, 74, 115, 0.14);
  border-radius: 999px;
  background: #f0e7d8;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  max-width: 620px;
  margin-top: var(--space-5);
}

.project-detail-actions .hero-btn,
.project-detail-actions .hero-btn-outline {
  min-height: 58px;
}

.project-detail-heading .hero-btn-outline {
  color: var(--primary-dark);
  border-color: rgba(19, 47, 75, 0.22);
  background: #fff;
}

.return-link {
  font-size: 0.92rem;
}

.footer-sky {
  background: #12304c;
  box-shadow: none;
}

.footer-sky::before {
  display: none;
}

.footer-btn {
  background: #e3c285;
}

@media (max-width: 900px) {
  #hero {
    padding: 40px;
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero-gallery {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-photo:first-child,
  .hero-photo:last-child {
    margin: 0;
  }

  .featured-layout,
  .complementary-row {
    flex-direction: column;
  }

  .projects-intro,
  .project-detail-heading__content {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .project-detail-heading__meta {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  main {
    padding-block: var(--space-5) 52px;
  }

  #hero {
    padding: 28px 20px;
  }

  #hero h2 {
    font-size: 2.35rem;
  }

  .hero-gallery {
    gap: 10px;
  }

  .hero-photo img {
    aspect-ratio: 4 / 3;
  }

  .project-card__body,
  .service-card,
  .projects-intro,
  .project-detail-heading,
  .empty-projects {
    padding: 20px;
  }

  #marked-projects .project-card__body,
  .projects-list-section .project-card__body {
    padding: 16px;
  }

  .projects-intro__aside {
    text-align: left;
  }

  .projects-intro__link {
    width: 100%;
  }

  .project-detail-actions {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-cta {
    grid-template-columns: 1fr;
  }

  #marked-projects .card-grid {
    max-width: 340px;
    margin-inline: auto;
  }

  .featured-projects-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .featured-projects-link {
    width: 100%;
    white-space: normal;
  }
}
