:root {
  --container-max: 1280px;
  --gutter: 32px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;

  --color-bg: #fefefe;
  --color-text: #0a0b0c;
  --color-muted: #4a5259;
  --color-accent: #1a5f66;
  --color-accent-light: #e8f4f5;
  --color-border: #e1e6ea;
  --color-surface: #f8fafb;
  --color-dark: #0f1416;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 10px 25px rgba(0,0,0,.08), 0 4px 10px rgba(0,0,0,.04);
  --shadow-lg: 0 25px 50px rgba(0,0,0,.12), 0 10px 20px rgba(0,0,0,.06);
  --shadow-xl: 0 35px 70px rgba(0,0,0,.15), 0 15px 25px rgba(0,0,0,.08);

  --gradient-primary: linear-gradient(135deg, #1a5f66 0%, #2a7a83 100%);
  --gradient-surface: linear-gradient(145deg, #ffffff 0%, #f8fafb 100%);

  --speed: 600ms;
  --ease: cubic-bezier(.2,.6,.2,1);
  --ease-bounce: cubic-bezier(.68,-.55,.265,1.55);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
p { margin: 0 0 18px; color: var(--color-muted); line-height: 1.7; font-size: 13px; }
h1, h2, h3 { margin: 0 0 16px; line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
h1 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(24px, 4vw, 40px); }
h3 { font-size: clamp(18px, 3vw, 24px); }
.display { font-family: "Playfair Display", Georgia, serif; font-weight: 700; }

.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--gutter)*2);
  padding: 0 var(--gutter);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  transition: all .35s var(--ease);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.btn--primary:hover { 
  transform: translateY(-2px); 
  box-shadow: var(--shadow-lg); 
  filter: brightness(1.05);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: var(--gradient-surface);
  border-color: var(--color-border);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.btn--small { padding: 12px 20px; font-size: 14px; }

.link-arrow { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  color: var(--color-accent); 
  font-weight: 600; 
  transition: all .3s var(--ease);
}
.link-arrow img, 
.link-arrow svg { 
  width: 18px; 
  height: 18px; 
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.link-arrow:hover img,
.link-arrow:hover svg {
  transform: translateX(4px);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: saturate(1.2) blur(20px);
  background: rgba(254,254,254,.92);
  border-bottom: 1px solid rgba(225,230,234,.4);
  transition: all .4s var(--ease);
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.site-header.is-scrolled { 
  background: rgba(254,254,254,.96); 
  border-bottom-color: rgba(225,230,234,.7);
  box-shadow: var(--shadow-md);
}
.nav { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 84px; 
  position: relative;
}
.nav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 20%, var(--color-accent) 80%, transparent 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.site-header.is-scrolled .nav::before { opacity: 0.3; }
.brand { 
  display: inline-flex; 
  align-items: center; 
  gap: 14px; 
  transition: all .3s var(--ease); 
  padding: 8px 12px;
  border-radius: var(--radius);
  position: relative;
}
.brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-accent-light);
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.brand:hover { 
  transform: translateY(-1px); 
}
.brand:hover::before { opacity: 1; }
.brand img { position: relative; z-index: 2; }

.brand__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  max-width: 180px;
  transition: all 0.3s ease;
}

.brand__logo:hover {
  transform: scale(1.05);
}

.brand__name {
  font-weight: 700;
}

.nav__wrap { position: relative; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; padding: 10px; border: 0; background: transparent; cursor: pointer;
}
.nav__bar { width: 22px; height: 2px; background: #111; border-radius: 2px; }

.nav__menu { display: flex; align-items: center; gap: 24px; list-style: none; padding: 0; margin: 0; }
.nav__menu a { 
  padding: 12px 16px; 
  border-radius: 999px; 
  font-weight: 500;
  font-size: 15px;
  transition: all .3s var(--ease);
  position: relative;
}
.nav__menu a:hover { 
  background: var(--color-accent-light); 
  color: var(--color-accent);
  transform: translateY(-1px);
}
.nav__menu a.is-active, .nav__menu a[aria-current="page"] { 
  background: var(--color-accent-light); 
  color: var(--color-accent); 
  font-weight: 600; 
}
.nav__menu .btn { margin-left: 8px; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu { position: absolute; right: 0; top: 56px; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-md); min-width: 220px; transform-origin: top right; transform: scale(.96); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav__menu.is-open { opacity: 1; pointer-events: auto; transform: scale(1); }
}

/* Hero */
.hero { 
  position: relative; 
  min-height: 90vh; 
  display: grid; 
  align-items: center;
  overflow: hidden;
}
/* ================================================
   SLIDER STYLING - PROFESSIONAL & RESPONSIVE
   ================================================ */

.slider {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    background: #0f1419;
}

.slider__track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 90vh;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: grid;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.05);
}

.slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,95,102,.45) 0%, rgba(15,20,22,.5) 100%);
    z-index: 1;
}



.slide__content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0;
    animation: slideInUp 1s ease-out 0.3s both;
}

/* Slider içindeki yazı stilleri - Hero ile aynı */
.slider .hero__title {
    font-size: clamp(42px, 7vw, 72px);
    text-wrap: balance;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: #fff;
}

.slider .hero__subtitle {
    font-size: clamp(18px, 2.8vw, 22px);
    max-width: 68ch;
    margin-bottom: 32px;
    line-height: 1.6;
    opacity: .95;
    color: #fff;
}

.slider .hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.slide.is-active .slide__content {
    animation: slideInUp 1s ease-out 0.3s both;
}

/* Navigation Arrows */
.slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.1);
    color: white;
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    z-index: 4;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.slider__nav:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.6);
    transform: translateY(-50%) scale(1.1);
}

.slider__nav--prev {
    left: 24px;
}

.slider__nav--next {
    right: 24px;
}

/* Dots Navigation */
.slider__dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
    background: rgba(0,0,0,.3);
    padding: 12px 20px;
    border-radius: 24px;
    backdrop-filter: blur(8px);
}

.slider__dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.slider__dots button::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider__dots button:hover {
    background: rgba(255,255,255,.7);
    transform: scale(1.2);
}

.slider__dots button.is-active {
    background: white;
    transform: scale(1.3);
}

.slider__dots button.is-active::before {
    border-color: rgba(255,255,255,.5);
}

/* Slide Content Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .slider {
        min-height: 70vh;
    }
    
    .slider__track {
        min-height: 70vh;
    }
    
    .slide {
        min-height: 70vh;
    }
    
    .slider__nav {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .slider__nav--prev {
        left: 16px;
    }
    
    .slider__nav--next {
        right: 16px;
    }
    
    .slider__dots {
        bottom: 20px;
        gap: 8px;
        padding: 8px 16px;
    }
    
    .slider__dots button {
        width: 10px;
        height: 10px;
    }
    
    .slide__content {
        padding: 0 20px;
    }
    
    .slider .hero__title {
        font-size: clamp(32px, 8vw, 48px);
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .slider .hero__subtitle {
        font-size: clamp(16px, 4vw, 20px);
        margin-bottom: 28px;
    }
    
    .slider .hero__cta {
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .slider {
        min-height: 60vh;
    }
    
    .slider__track {
        min-height: 60vh;
    }
    
    .slide {
        min-height: 60vh;
    }
    
    .slider .hero__title {
        font-size: clamp(28px, 7vw, 36px);
        margin-bottom: 16px;
    }
    
    .slider .hero__subtitle {
        font-size: clamp(15px, 4vw, 18px);
        margin-bottom: 24px;
    }
    
    .slider .hero__cta {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .slider .btn {
        width: 100%;
        justify-content: center;
    }
}
.hero__media {
  position: absolute; inset: 0;
  background: 
    linear-gradient(135deg, rgba(26,95,102,.75) 0%, rgba(42,122,131,.45) 40%, rgba(15,20,22,.85) 100%),
    url('https://images.unsplash.com/photo-1505842465776-3acb1581c8bb?q=80&w=1920&auto=format&fit=crop');
  background-size: cover; 
  background-position: center; 
  filter: saturate(1.1) contrast(1.05);
}
.hero__grain { 
  position: absolute; 
  inset: 0; 
  mix-blend-mode: overlay; 
  opacity: .12; 
  pointer-events: none; 
}
.hero__content { 
  position: relative; 
  padding: 0; 
  color: #fff; 
  z-index: 2;
}
.hero__title { 
  font-size: clamp(42px, 7vw, 72px); 
  text-wrap: balance; 
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.hero__subtitle { 
  font-size: clamp(18px, 2.8vw, 22px); 
  max-width: 68ch; 
  margin-bottom: 32px;
  line-height: 1.6;
  opacity: .95;
}
.hero__cta { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
  margin-bottom: 48px;
}
.hero__metrics { 
  display: grid; 
  grid-template-columns: repeat(3, minmax(0,1fr)); 
  max-width: 800px; 
  gap: 16px; 
}
.metric { 
  background: rgba(255,255,255,.12); 
  border: 1px solid rgba(255,255,255,.2); 
  padding: 20px 24px; 
  border-radius: var(--radius-lg); 
  backdrop-filter: blur(8px);
  transition: all .4s var(--ease);
}
.metric:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-2px);
}
.metric__number { 
  font-size: 28px; 
  font-weight: 700; 
  letter-spacing: -.02em; 
  color: #fff; 
  margin-bottom: 4px;
}
.metric__label { 
  color: rgba(255,255,255,.9); 
  font-size: 14px; 
  font-weight: 500;
}

/* Sections */
.section { padding: 96px 0; }
.section--projects { background: var(--color-bg); }
.section--services { background: var(--gradient-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section--process { background: var(--color-bg); }
.section__head { 
  display: flex; 
  align-items: end; 
  justify-content: space-between; 
  gap: 24px; 
  margin-bottom: 48px; 
  flex-wrap: wrap; 
}
.section__title { 
  font-size: clamp(32px, 5vw, 48px); 
  margin-bottom: 8px;
}
.section__subtitle { 
  max-width: 68ch; 
  font-size: 18px;
  margin-bottom: 0;
}
.section__actions { margin-top: 32px; }

.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
@media (max-width: 900px) { .projects-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; gap: 16px; } }

  .project-card { 
    display: grid; 
    grid-template-rows: 280px auto; 
    border-radius: var(--radius-lg); 
    overflow: hidden; 
    background: var(--color-bg); 
    border: 1px solid var(--color-border); 
    box-shadow: var(--shadow-md); 
    transition: all .4s var(--ease); 
    position: relative;
    text-decoration: none;
    color: inherit;
  }
.project-card:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-xl); 
  border-color: var(--color-accent);
  cursor: pointer;
}

.project-card:hover .project-card__image {
  transform: scale(1.05);
}
.project-card__image { 
  background-size: cover; 
  background-position: center; 
  position: relative; 
  overflow: hidden;
  transition: transform .4s var(--ease);
}
.project-card__image::after { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(180deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.6) 100%); 
  transition: opacity .4s var(--ease);
}
.project-card:hover .project-card__image::after { opacity: .8; }
.project-card__content { 
  padding: 20px 24px 24px; 
  background: var(--gradient-surface);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
}
.project-card h3 { 
  margin: 0 0 8px; 
  font-size: 18px; 
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.project-card small {
  display: block;
  font-size: 12px;
  color: var(--color-accent);
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; gap: 16px; } }
.card { 
  background: var(--gradient-surface); 
  border: 1px solid var(--color-border); 
  border-radius: var(--radius-lg); 
  padding: 32px 28px; 
  box-shadow: var(--shadow-md); 
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}
.card:hover::before { transform: scaleX(1); }
.card h3 { 
  margin: 0 0 16px; 
  font-size: 22px; 
  font-weight: 600;
  color: var(--color-text);
}
.card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 20px; } }
.step { 
  display: grid; 
  grid-template-columns: 72px 1fr; 
  gap: 20px; 
  align-items: start; 
  border: 1px solid var(--color-border); 
  background: var(--gradient-surface); 
  border-radius: var(--radius-lg); 
  padding: 28px; 
  box-shadow: var(--shadow-md);
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}
.step:hover::before { transform: scaleX(1); }
.step__index { 
  width: 72px; 
  height: 72px; 
  border-radius: var(--radius); 
  background: var(--gradient-primary); 
  display: grid; 
  place-items: center; 
  font-weight: 700; 
  font-size: 18px;
  color: #fff; 
  box-shadow: var(--shadow-md);
}
.step__body h3 { 
  margin: 0 0 12px; 
  font-size: 20px; 
  font-weight: 600;
}
.step__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* CTA */
.cta { 
  background: var(--color-dark); 
  color: #fff; 
  padding: 96px 0; 
  position: relative; 
  overflow: hidden; 
}
.cta::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: radial-gradient(60% 60% at 50% 50%, rgba(26,95,102,.2), transparent 70%); 
  pointer-events: none; 
}
.cta__inner { 
  text-align: center; 
  position: relative; 
  z-index: 2;
}
.cta h2 { 
  font-size: clamp(32px, 5vw, 48px); 
  margin-bottom: 20px;
  font-family: "Playfair Display", Georgia, serif;
}
.cta p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: .9;
}

/* Footer */
.site-footer { 
  border-top: 1px solid var(--color-border); 
  background: var(--gradient-surface); 
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 25%, var(--color-accent) 75%, transparent 100%);
  opacity: 0.6;
}
.footer__grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr 1fr; 
  gap: 48px; 
  padding: 72px 0; 
  position: relative;
  align-items: start;
}
.footer__brand {
  position: relative;
  text-align: left;
}
.footer__brand img {
  margin-bottom: 12px;
  display: block;
}
.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 240px;
  margin: 0;
  margin-top: 8px;
  margin-left: 42px;
}
.footer__nav { 
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.footer__nav h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent-light);
  width: 100%;
}
.footer__nav a { 
  color: var(--color-muted); 
  font-weight: 500;
  font-size: 15px;
  transition: all .3s var(--ease);
  padding: 8px 0;
  text-decoration: none;
  position: relative;
  display: block;
  width: 100%;
}
.footer__nav a:hover { 
  color: var(--color-accent);
  transform: translateX(4px);
}
.footer__info { 
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.footer__info h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent-light);
  width: 100%;
}
.footer__info p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0;
  padding: 8px 0;
}
.footer__info a {
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 500;
  transition: all .3s var(--ease);
  padding: 8px 0;
  text-decoration: none;
  display: block;
}
.footer__info a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}
.footer__legal { 
  border-top: 1px solid var(--color-border); 
  padding: 28px 0 36px; 
  color: var(--color-muted); 
  font-size: 14px; 
  text-align: center;
  position: relative;
}
.footer__legal::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--color-accent);
}
@media (max-width: 1000px) { 
  .footer__grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 40px;
  }
}

/* Mobile Accordion Footer */
.footer__mobile {
  display: none;
}

@media (max-width: 768px) { 
  .footer__grid { 
    display: block;
    padding: 48px 0 24px;
  }
  
  .footer__brand {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
  }
  
  .footer__brand img {
    margin: 0 auto 12px;
    height: 40px;
    display: block;
  }
  
  .footer__brand p {
    margin: 8px auto 0;
    text-align: center;
    font-size: 13px;
    max-width: 280px;
  }
  
  /* Desktop sections hidden on mobile */
  .footer__nav,
  .footer__info,
  .footer__social {
    display: none;
  }
  
  /* Mobile Accordion Sections */
  .footer__mobile {
    display: block;
  }
  
  .footer__section {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
  }
  
  .footer__toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    transition: all .3s var(--ease);
  }
  
  .footer__toggle:hover {
    color: var(--color-accent);
  }
  
  .footer__chevron {
    transition: transform .3s var(--ease);
    color: var(--color-muted);
  }
  
  .footer__toggle[aria-expanded="true"] .footer__chevron {
    transform: rotate(180deg);
    color: var(--color-accent);
  }
  
  .footer__content {
    max-height: 0;
    overflow: hidden;
    transition: all .4s var(--ease);
    opacity: 0;
  }
  
  .footer__content.is-open {
    max-height: 300px;
    opacity: 1;
    padding: 0 16px 20px 16px;
  }
  
  .footer__content .footer__nav,
  .footer__content .footer__info,
  .footer__content .footer__social {
    display: block;
    text-align: left;
  }
  
  .footer__content h4 {
    display: none; /* Hidden on mobile, replaced by toggle button */
  }
  
  .footer__content .footer__nav a,
  .footer__content .footer__info p,
  .footer__content .footer__info a {
    display: block;
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid rgba(225, 230, 234, 0.5);
    transition: all .3s var(--ease);
    font-size: 15px;
  }
  
  .footer__content .footer__nav a:last-child,
  .footer__content .footer__info a:last-child {
    border-bottom: none;
  }
  
  .footer__content .footer__nav a:hover,
  .footer__content .footer__info a:hover {
    color: var(--color-accent);
    padding-left: 12px;
    background: var(--color-accent-light);
    border-radius: 8px;
  }
  
  .footer__content .social-links {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    padding: 12px 0;
    flex-wrap: wrap;
  }
  
  .footer__content .social-link {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s var(--ease);
  }
  
  .footer__content .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  }
}

@media (max-width: 600px) {
  .footer__grid {
    padding: 40px 0 20px;
  }
  
  .footer__brand {
    margin-bottom: 28px;
    padding-bottom: 20px;
  }
  
  .footer__brand img {
    height: 36px;
    margin: 0 auto 10px;
    display: block;
  }
  
  .footer__brand p {
    margin: 6px auto 0;
    font-size: 12px;
    text-align: center;
  }
  
  .footer__toggle {
    padding: 18px 12px;
    font-size: 15px;
  }
  
  .footer__content .footer__nav a,
  .footer__content .footer__info p,
  .footer__content .footer__info a {
    padding: 10px 0;
    font-size: 14px;
  }
  
  .footer__content.is-open {
    padding: 0 12px 20px 12px;
  }
  
  .footer__content .social-link {
    width: 40px !important;
    height: 40px !important;
  }
  
  .footer__legal {
    padding: 24px 0 32px;
    font-size: 11px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    padding: 36px 0 16px;
  }
  
  .footer__brand {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }
  
  .footer__brand img {
    height: 32px;
    margin: 0 auto 8px;
    display: block;
  }
  
  .footer__brand p {
    margin: 6px auto 0;
    font-size: 11px;
    text-align: center;
  }
  
  .footer__toggle {
    padding: 16px 12px;
    font-size: 14px;
  }
  
  .footer__chevron {
    width: 14px;
    height: 14px;
  }
  
  .footer__content .footer__nav a,
  .footer__content .footer__info p,
  .footer__content .footer__info a {
    padding: 8px 0;
    font-size: 13px;
  }
  
  .footer__content.is-open {
    padding: 0 12px 16px 12px;
  }
  
  .footer__content .social-links {
    gap: 12px;
  }
  
  .footer__content .social-link {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px;
  }
  
  .footer__content .social-link svg {
    width: 16px !important;
    height: 16px !important;
  }
  
  .footer__legal {
    padding: 20px 0 28px;
    font-size: 10px;
    text-align: center;
  }
}

/* Social Media */
.footer__social {
  margin-top: 0;
}

.footer__social h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent-light);
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition: all .4s var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 2px;
}

.social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,.2) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link svg {
  position: relative;
  z-index: 2;
  transition: transform .3s var(--ease);
}

.social-link:hover svg {
  transform: scale(1.1);
}

/* Social Media Brand Colors */
.social-link.facebook:hover {
  background: #1877F2;
  color: white;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
}

.social-link.twitter:hover {
  background: #1DA1F2;
  color: white;
}

.social-link.linkedin:hover {
  background: #0077B5;
  color: white;
}

.social-link.youtube:hover {
  background: #FF0000;
  color: white;
}

.social-link.whatsapp:hover {
  background: #25D366;
  color: white;
}

@media (max-width: 700px) {
  .footer__social {
    text-align: center;
    margin-top: 0;
  }
  
  .footer__social h4 {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Page hero */
.page-hero { 
  padding: 96px 0 48px; 
  background: var(--gradient-surface); 
  border-bottom: 1px solid var(--color-border); 
}
.page-hero h1 { 
  font-size: clamp(36px, 6vw, 56px); 
  font-family: "Playfair Display", Georgia, serif;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  max-width: 64ch;
}
.page { padding: 72px 0; }

/* Forms */
form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
label { 
  font-weight: 600; 
  font-size: 15px; 
  color: var(--color-text);
}
input, textarea, select { 
  padding: 16px 18px; 
  border: 1px solid var(--color-border); 
  border-radius: var(--radius); 
  font: inherit; 
  background: var(--color-bg); 
  font-size: 15px;
  transition: all .3s var(--ease);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(26,95,102,.1);
}
textarea { min-height: 160px; resize: vertical; }
.help { font-size: 13px; color: var(--color-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.form-success { 
  display: none; 
  padding: 16px 20px; 
  border-radius: var(--radius); 
  background: #ecfdf5; 
  border: 1px solid #a7f3d0; 
  color: #065f46; 
  font-weight: 500;
  margin-top: 16px;
}
.form-success.is-visible { display: block; }

.form-error {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-weight: 500;
  margin-top: 16px;
}
.form-error.is-visible { display: block; }

#submit-btn {
  position: relative;
  transition: all .3s var(--ease);
}

#submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Utilities */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.grid-1 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.muted { color: var(--color-muted); }
.surface { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 16px; }
.divider { height: 1px; background: var(--color-border); margin: 16px 0; }



/* Project Categories Navigation - Professional Corporate Design */
.project-categories {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  border-radius: 0;
  border: none;
  background: var(--color-bg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: var(--color-muted);
  font-weight: 500;
  position: relative;
  min-width: 160px;
  border-right: 1px solid var(--color-border);
  border-bottom: 3px solid transparent;
}

.category-link:last-child {
  border-right: none;
}

.category-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-link:hover {
  background: var(--color-surface);
  color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-link.active {
  background: var(--color-surface);
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-link:hover::before,
.category-link.active::before {
  transform: scaleX(1);
}

.category-icon {
  width: 28px;
  height: 28px;
  color: currentColor;
  opacity: 0.7;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-link:hover .category-icon,
.category-link.active .category-icon {
  opacity: 1;
  transform: scale(1.1);
}

.category-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: currentColor;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 768px) {
  .project-categories {
    flex-direction: column;
    gap: 0;
    max-width: 100%;
  }
  .category-link {
    flex-direction: row;
    justify-content: flex-start;
    min-width: auto;
    padding: 20px 24px;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }
  .category-link:last-child {
    border-bottom: none;
  }
  .category-icon {
    width: 24px;
    height: 24px;
    margin-right: 16px;
  }
  .category-text {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .project-categories {
    margin: 0 -16px;
  }
  .category-link {
    padding: 16px 20px;
  }
  .category-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
  }
  .category-text {
    font-size: 12px;
  }
}

/* Print basics */
@media print {
  .site-header, .site-footer, .hero, .cta { display: none !important; }
  .section, .page { padding: 0; }
}


