:root{
  --bg:#f3f2ef;
  --teal:#4f8893;
  --teal-dark:#245866;
  --sand:#d8d2c6;
  --text:#141414;
  --muted:#6b6b6b;
  --white:#ffffff;
  --line:#d7d7d7;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background:var(--bg);
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  transition:background-color .45s ease;
  padding-top:64px;
  overflow-x:hidden;
}

img,
video{
  display:block;
  max-width:100%;
}

a{
  text-decoration:none;
  color:inherit;
}

button{
  font-family:inherit;
}

.container{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:0 32px;
}

/* EFECTO GRIS A COLOR */
.img-hover-color{
  filter:grayscale(100%);
  transition:filter .35s ease, transform .35s ease;
}

.img-hover-color:hover{
  filter:grayscale(0%);
}

/* HEADER */
.header{
  background:#f7f6f4;
  border-bottom:1px solid #e1e1e1;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  transition:transform .25s ease;
  will-change:transform;
}

.header-inner{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:relative;
}

.logo{
  display:block;
  width:130px;
  flex-shrink:0;
}

.logo img{
  width:100%;
  height:auto;
  display:block;
  filter:none !important;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:34px;
  font-size:13px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:#5f5f5f;
  margin-left:auto;
}

.nav a{
  transition:.2s ease;
  position:relative;
  white-space:nowrap;
}

.nav a:hover{
  opacity:.75;
}

.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:1.5px;
  background:currentColor;
  transition:width .28s ease;
}

.nav a:hover::after{
  width:100%;
}

.lang-inline{
  display:flex;
  align-items:center;
  gap:6px;
  margin-left:6px;
}

.lang-chip{
  border:1px solid #cfcfcf;
  background:#ffffff;
  color:#4b4b4b;
  min-width:42px;
  height:34px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:1px;
  cursor:pointer;
  transition:
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.lang-chip:hover{
  transform:translateY(-1px);
  border-color:#b8b8b8;
}

.lang-chip.active{
  background:var(--teal);
  color:#fff;
  border-color:var(--teal);
  box-shadow:0 8px 18px rgba(79,136,147,.22);
}

.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  border:none;
  background:transparent;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  margin-left:auto;
}

.menu-toggle span{
  width:24px;
  height:2px;
  background:#222;
  border-radius:999px;
  transition:transform .25s ease, opacity .25s ease;
}

.menu-toggle.active span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
  opacity:0;
}

.menu-toggle.active span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* HERO CON VIDEO */
.hero{
  position:relative;
  min-height:720px;
  overflow:hidden;
  background:#000;
}

.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(43, 109, 120, 0.60);
  z-index:2;
}

.hero-content{
  position:relative;
  z-index:3;
  min-height:720px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  color:#fff;
  padding-left:10px;
  padding-right:10px;
}

.hero-title{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  font-size:58px;
  font-weight:700;
  line-height:1.15;
  max-width:950px;
}

.hero-title-main{
  display:inline-block;
}

.hero-badge{
  display:inline-block;
  background:#fff;
  color:#2f7281;
  padding:6px 14px 8px;
  font-style:italic;
  font-weight:700;
  line-height:1;
  border-right:2px solid #2f7281;
  padding-right:6px;
  white-space:nowrap;
  overflow:hidden;
  animation:blinkCursor .7s infinite;
}

.hero-subtitle{
  margin-top:18px;
  font-size:24px;
  font-style:italic;
  letter-spacing:.2px;
  color:rgba(255,255,255,.94);
  max-width:760px;
}

@keyframes blinkCursor{
  0%,100%{ border-color:transparent; }
  50%{ border-color:#2f7281; }
}

/* ABOUT */
.about{
  padding:56px 0 44px;
  background:var(--bg);
}

.about-grid{
  display:grid;
  grid-template-columns:1fr 1.2fr 1fr;
  gap:24px;
  align-items:center;
}

.about-image-wrap{
  width:100%;
}

.about-image-left{
  justify-self:start;
}

.about-image-right{
  justify-self:end;
}

.about-image{
  width:100%;
  height:240px;
  object-fit:cover;
}

.about-copy{
  padding:0 10px;
}

.about-copy h2{
  font-size:42px;
  letter-spacing:.4px;
  font-weight:800;
  margin-bottom:18px;
}

.about-copy p{
  font-size:16px;
  line-height:1.7;
  color:#2e2e2e;
  margin-bottom:12px;
}

.outline-btn{
  display:inline-block;
  border:1px solid #9f9f9f;
  border-radius:999px;
  padding:12px 26px;
  font-size:12px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:#505050;
  margin-top:10px;
  transition:
    transform .25s ease,
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.outline-btn:hover{
  transform:translateY(-2px);
}

.outline-btn.light{
  color:#fff;
  border-color:rgba(255,255,255,.75);
}

/* STATEMENT */
.statement{
  background:var(--teal);
  color:#fff;
  text-align:center;
  padding:28px 0;
}

.statement p{
  font-size:24px;
  font-style:italic;
  font-weight:700;
  line-height:1.5;
}

/* MAPA */
.map-section{
  padding:56px 0 24px;
  background:var(--bg);
  position:relative;
  z-index:2;
}

.interactive-map-wrap{
  width:100%;
}

.map-visual{
  width:100%;
}

.map-visual img{
  width:100%;
  height:auto;
  object-fit:contain;
  margin:0 auto;
}

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  align-items:start;
  margin-top:10px;
  padding:0 10px;
}

.stat{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.stat strong{
  font-size:54px;
  line-height:1;
  font-weight:600;
  color:#171717;
  min-width:72px;
  flex-shrink:0;
}

.stat span{
  display:block;
  font-size:12px;
  line-height:1.5;
  color:#222;
  text-transform:uppercase;
  padding-top:7px;
  max-width:180px;
}

/* SERVICES */
.services{
  padding:44px 0;
  margin-top:34px;
  position:relative;
  z-index:3;
  overflow:hidden;
}

.services::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--teal);
  opacity:0;
  transition:opacity .45s ease;
  z-index:0;
}

.services.services-active::before{
  opacity:1;
}

.services-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  align-items:stretch;
  gap:0;
}

.services-image-wrap{
  display:flex;
  align-items:stretch;
  justify-content:flex-start;
  padding:26px 0;
}

.services-image{
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:cover;
  object-position:center;
}

.services-content{
  color:#fff;
  padding:52px 36px 42px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.services-content h2{
  font-size:42px;
  font-weight:800;
  margin-bottom:14px;
  letter-spacing:.4px;
}

.services-content p{
  font-size:15px;
  line-height:1.7;
  max-width:620px;
  margin-bottom:26px;
  color:rgba(255,255,255,.95);
}

.services-list{
  list-style:none;
  margin-bottom:24px;
}

.services-list li{
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 0 14px;
  border-bottom:1px solid rgba(255,255,255,.5);
  font-size:19px;
  font-style:italic;
  letter-spacing:.8px;
  font-weight:700;
  text-transform:uppercase;
}

.services-list li img{
  width:22px;
  height:22px;
  object-fit:contain;
  flex-shrink:0;
  filter:none;
}

.services-list li span{
  display:block;
}

/* BAND */
.stats-band{
  background:var(--sand);
  padding:16px 0;
}

.stats-band .stats{
  margin-top:0;
}

/* TEAM */
.team{
  padding:70px 0 56px;
  background:var(--bg);
  display:none;
}

.section-label{
  display:block;
  font-size:11px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:#8f8f8f;
  margin-bottom:10px;
}

.section-title{
  font-size:38px;
  font-weight:800;
  letter-spacing:.3px;
  margin-bottom:34px;
}

.team-top{
  width:100%;
  max-width:980px;
  margin:0 auto 28px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.team-bottom{
  width:100%;
  max-width:660px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
}

.team-card{
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  transition:transform .35s ease, box-shadow .35s ease;
}

.team-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 35px rgba(0,0,0,.10);
}

.team-card img{
  height:320px;
  object-fit:cover;
}

.team-info{
  background:var(--teal);
  color:#fff;
  padding:14px 16px 16px;
  min-height:90px;
}

.team-info h3{
  font-size:16px;
  line-height:1.35;
  font-weight:700;
  margin-bottom:5px;
}

.team-info p{
  font-size:11px;
  line-height:1.4;
  opacity:.95;
}

/* PORTFOLIO CAROUSEL */
.portfolio-showcase{
  padding:72px 0 88px;
  background:var(--bg);
  overflow:hidden;
}

.portfolio-shell{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:44px;
  align-items:center;
}

.portfolio-side{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-height:640px;
}

.portfolio-vertical{
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  font-size:64px;
  line-height:1;
  font-weight:400;
  letter-spacing:1px;
  color:#111;
}

.portfolio-side-subtitle{
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  font-size:22px;
  line-height:1;
  font-weight:600;
  color:#111;
}

.portfolio-carousel-wrap{
  overflow:hidden;
  cursor:grab;
  user-select:none;
  position:relative;
}

.portfolio-carousel-wrap.dragging{
  cursor:grabbing;
}

.portfolio-carousel{
  display:flex;
  gap:26px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
  padding-bottom:6px;
  will-change:scroll-position;
}

.portfolio-carousel.dragging{
  scroll-snap-type:none;
}

.portfolio-carousel::-webkit-scrollbar{
  display:none;
}

.portfolio-card{
  position:relative;
  flex:0 0 360px;
  height:640px;
  border-radius:24px;
  overflow:hidden;
  background:#000;
}

.portfolio-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(100%);
  transition:transform .35s ease, filter .35s ease;
  will-change:transform, filter;
}

.portfolio-card:hover img{
  transform:scale(1.03);
  filter:grayscale(0%);
}

.portfolio-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.32) 30%,
    rgba(0,0,0,.55) 100%
  );
  pointer-events:none;
}

.portfolio-card-content{
  position:absolute;
  inset:0;
  z-index:2;
  padding:42px 34px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  color:#fff;
}

.portfolio-card-content h3{
  font-size:20px;
  font-weight:800;
  margin-bottom:22px;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.portfolio-card-content p{
  font-size:18px;
  line-height:1.35;
  font-weight:400;
  margin-bottom:22px;
  color:rgba(255,255,255,.92);
}

.portfolio-card-content span{
  font-size:18px;
  line-height:1.35;
  color:rgba(255,255,255,.92);
}

/* FOOTER */
.footer{
  background:linear-gradient(135deg, #4f8893 0%, #467f8a 50%, #3f7580 100%);
  color:#fff;
  padding:64px 0;
}

.footer-shell{
  max-width:1280px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1fr 470px;
  gap:60px;
  align-items:center;
}

.footer-left{
  max-width:560px;
}

.footer-kicker{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  letter-spacing:2.6px;
  text-transform:uppercase;
  color:rgba(255,255,255,.76);
  margin-bottom:16px;
}

.footer-left h2{
  font-size:52px;
  line-height:1.02;
  font-weight:800;
  letter-spacing:-1.2px;
  max-width:520px;
  margin-bottom:20px;
}

.footer-description{
  max-width:460px;
  font-size:16px;
  line-height:1.7;
  color:rgba(255,255,255,.86);
  margin-bottom:24px;
}

.footer-email{
  display:inline-block;
  font-size:26px;
  line-height:1.2;
  font-weight:700;
  color:#fff;
  margin-bottom:24px;
  transition:opacity .25s ease, transform .25s ease;
}

.footer-email:hover{
  opacity:.9;
  transform:translateY(-1px);
}

.social{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:24px;
}

.social a{
  width:48px;
  height:48px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.05);
  transition:
    transform .25s ease,
    background-color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.social a:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.11);
  border-color:rgba(255,255,255,.4);
  box-shadow:0 10px 22px rgba(0,0,0,.12);
}

.social img{
  width:20px;
  height:20px;
  object-fit:contain;
  filter:none !important;
}

.footer-bottom{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.footer-bottom a{
  font-size:12px;
  font-weight:600;
  color:rgba(255,255,255,.78);
  text-decoration:none;
  transition:color .25s ease, opacity .25s ease;
}

.footer-bottom a:hover{
  color:#fff;
}

.form{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.22);
  border-radius:24px;
  padding:28px;
  width:100%;
}

.form-head{
  margin-bottom:18px;
}

.form-head h3{
  font-size:22px;
  line-height:1.15;
  font-weight:700;
  color:#fff;
  margin-bottom:6px;
}

.form-head p{
  font-size:14px;
  line-height:1.6;
  color:rgba(255,255,255,.76);
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.form input,
.form textarea{
  width:100%;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.30);
  color:#fff;
  font-size:14px;
  outline:none;
  padding:14px 16px;
  transition:
    border-color .25s ease,
    background-color .25s ease,
    box-shadow .25s ease;
}

.form input{
  border-radius:16px;
  margin-bottom:14px;
}

.form textarea{
  height:145px;
  border-radius:18px;
  resize:none;
  margin-bottom:18px;
}

.form input::placeholder,
.form textarea::placeholder{
  color:rgba(255,255,255,.70);
}

.form input:focus,
.form textarea:focus{
  border-color:rgba(255,255,255,.55);
  background:rgba(255,255,255,.08);
  box-shadow:0 0 0 4px rgba(255,255,255,.08);
}

.form button{
  background:#f4efe7;
  color:#1a1a1a;
  border:none;
  border-radius:999px;
  padding:13px 24px;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  cursor:pointer;
  min-width:140px;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background-color .25s ease;
}

.form button:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(0,0,0,.14);
}

/* ANIMACIONES */
.reveal{
  opacity:0;
  transform:translateY(50px);
  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.22, 1, .36, 1);
  will-change:opacity, transform;
}

.reveal-left{
  transform:translateX(-60px);
}

.reveal-right{
  transform:translateX(60px);
}

.reveal.show{
  opacity:1;
  transform:translate(0, 0);
}

.stagger-group .stagger-item{
  opacity:0;
  transform:translateY(40px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.22, 1, .36, 1);
}

.stagger-group.show .stagger-item{
  opacity:1;
  transform:translateY(0);
}

.stagger-group.show .stagger-item:nth-child(1){ transition-delay:.08s; }
.stagger-group.show .stagger-item:nth-child(2){ transition-delay:.18s; }
.stagger-group.show .stagger-item:nth-child(3){ transition-delay:.28s; }
.stagger-group.show .stagger-item:nth-child(4){ transition-delay:.38s; }
.stagger-group.show .stagger-item:nth-child(5){ transition-delay:.48s; }

/* TABLET */
@media (max-width: 1200px){
  .portfolio-shell{
    grid-template-columns:170px 1fr;
    gap:26px;
  }

  .portfolio-side{
    min-height:560px;
  }

  .portfolio-vertical{
    font-size:52px;
  }

  .portfolio-side-subtitle{
    font-size:18px;
  }

  .portfolio-card{
    flex:0 0 320px;
    height:560px;
  }
}

@media (max-width: 1024px){
  .container{
    padding:0 24px;
  }

  .logo{
    width:115px;
  }

  .nav{
    gap:22px;
    font-size:12px;
    flex-wrap:wrap;
    justify-content:flex-end;
  }

  .hero,
  .hero-content{
    min-height:560px;
  }

  .hero-title{
    font-size:42px;
  }

  .hero-subtitle{
    font-size:18px;
  }

  .about-grid,
  .services-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .about-grid{
    gap:22px;
  }

  .about-copy{
    text-align:center;
    max-width:760px;
    margin:0 auto;
  }

  .about-copy .outline-btn{
    margin-left:auto;
    margin-right:auto;
  }

  .about-image{
    height:280px;
  }

  .services-image-wrap{
    padding:0 0 24px;
  }

  .services-image{
    min-height:380px;
  }

  .services-content{
    text-align:center;
    align-items:center;
  }

  .services-content p{
    max-width:760px;
  }

  .services-list{
    width:100%;
    max-width:760px;
  }

  .stats{
    grid-template-columns:repeat(2,1fr);
  }

  .team-top{
    max-width:100%;
  }

  .footer{
    padding:54px 0;
  }

  .footer-grid{
    gap:40px;
  }

  .footer-left{
    max-width:none;
  }

  .footer-left h2{
    font-size:42px;
    max-width:none;
  }

  .footer-email{
    font-size:22px;
  }
}

@media (max-width: 768px){
  body{
    padding-top:78px;
  }

  .container{
    padding:0 18px;
  }

  .header{
    transform:none !important;
  }

  .header-inner{
    min-height:78px;
    padding:12px 0;
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:10px;
  }

  .logo{
    width:108px;
  }

  .menu-toggle{
    display:flex;
  }

  .nav{
    position:absolute;
    top:100%;
    left:18px;
    right:18px;
    background:#f7f6f4;
    border:1px solid #e1e1e1;
    box-shadow:0 16px 30px rgba(0,0,0,.08);
    border-radius:18px;
    padding:18px;
    margin-left:0;
    display:none;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:16px;
    font-size:12px;
    letter-spacing:1.4px;
  }

  .nav.nav-open{
    display:flex;
  }

  .nav a{
    width:100%;
    text-align:center;
    padding:4px 0;
  }

  .nav a::after{
    display:none;
  }

  .lang-inline{
    width:100%;
    justify-content:center;
    margin-left:0;
    margin-top:4px;
  }

  .lang-chip{
    height:38px;
    min-width:52px;
    font-size:12px;
  }

  .hero{
    min-height:520px;
  }

  .hero-content{
    min-height:520px;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding-left:0;
    padding-right:0;
  }

  .hero-title{
    font-size:32px;
    gap:10px;
    justify-content:center;
    width:100%;
  }

  .hero-title-main{
    display:block;
    width:100%;
  }

  .hero-badge{
    padding:4px 10px 6px;
    margin:0 auto;
  }

  .hero-subtitle{
    font-size:16px;
    line-height:1.55;
    max-width:340px;
    margin-left:auto;
    margin-right:auto;
  }

  .about{
    padding:40px 0;
  }

  .about-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .about-image-left,
  .about-image-right{
    justify-self:center;
    width:100%;
  }

  .about-image{
    height:240px;
  }

  .about-copy{
    text-align:center;
    padding:0;
  }

  .about-copy h2,
  .services-content h2,
  .section-title{
    font-size:28px;
  }

  .about-copy p,
  .services-content p{
    font-size:14px;
  }

  .statement{
    padding:24px 0;
  }

  .statement p{
    font-size:18px;
  }

  .map-section{
    padding:40px 0 18px;
  }

  .map-visual{
    overflow:hidden;
    border-radius:16px;
  }

  .map-visual img{
    width:100%;
    object-fit:cover;
  }

  .stats{
    grid-template-columns:1fr;
    gap:18px;
    padding:0;
  }

  .stat{
    justify-content:center;
    text-align:left;
  }

  .stat strong{
    font-size:42px;
    min-width:60px;
  }

  .stat span{
    font-size:11px;
    max-width:none;
  }

  .services{
    padding:32px 0;
    margin-top:24px;
  }

  .services-grid{
    grid-template-columns:1fr;
  }

  .services-image-wrap{
    padding:0 0 20px;
  }

  .services-image{
    min-height:280px;
  }

  .services-content{
    padding:26px 10px 6px;
    text-align:center;
    align-items:center;
  }

  .services-list{
    width:100%;
  }

  .services-list li{
    font-size:15px;
    gap:10px;
    justify-content:center;
    text-align:center;
  }

  .services-list li img{
    width:18px;
    height:18px;
  }

  .team-top,
  .team-bottom{
    grid-template-columns:1fr;
    max-width:100%;
  }

  .portfolio-showcase{
    padding:54px 0 64px;
  }

  .portfolio-shell{
    grid-template-columns:1fr;
    gap:24px;
  }

  .portfolio-side{
    min-height:auto;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    gap:8px;
    text-align:center;
  }

  .portfolio-vertical,
  .portfolio-side-subtitle{
    writing-mode:horizontal-tb;
    transform:none;
  }

  .portfolio-vertical{
    font-size:34px;
  }

  .portfolio-side-subtitle{
    font-size:16px;
    opacity:.8;
  }

  .portfolio-carousel-wrap{
    overflow:visible;
  }

  .portfolio-carousel{
    gap:18px;
    padding-left:2px;
    padding-right:2px;
  }

  .portfolio-card{
    flex:0 0 82vw;
    max-width:340px;
    height:460px;
    border-radius:20px;
  }

  .portfolio-card-content{
    padding:28px 24px;
  }

  .portfolio-card-content h3{
    font-size:18px;
    margin-bottom:16px;
  }

  .portfolio-card-content p,
  .portfolio-card-content span{
    font-size:16px;
  }

  .footer{
    padding:44px 0;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .footer-left{
    max-width:none;
    text-align:center;
  }

  .footer-left h2{
    font-size:34px;
    line-height:1.08;
    letter-spacing:-.8px;
    max-width:none;
  }

  .footer-description{
    font-size:15px;
    margin-left:auto;
    margin-right:auto;
  }

  .footer-email{
    font-size:18px;
    word-break:break-word;
  }

  .social{
    justify-content:center;
  }

  .footer-bottom{
    justify-content:center;
    gap:10px 16px;
  }

  .social a{
    width:44px;
    height:44px;
  }

  .social img{
    width:18px;
    height:18px;
  }

  .form{
    padding:22px 18px;
    border-radius:20px;
  }

  .form-row{
    grid-template-columns:1fr;
    gap:0;
  }

  .form-head{
    text-align:center;
  }

  .form-head h3{
    font-size:19px;
  }

  .footer-bottom a{
    font-size:11px;
  }
}

@media (max-width: 480px){
  body{
    padding-top:76px;
  }

  .container{
    padding:0 16px;
  }

  .header-inner{
    min-height:76px;
  }

  .nav{
    left:16px;
    right:16px;
  }

  .logo{
    width:100px;
  }

  .hero{
    min-height:480px;
  }

  .hero-content{
    min-height:480px;
  }

  .hero-title{
    font-size:28px;
    line-height:1.2;
  }

  .hero-subtitle{
    font-size:15px;
    max-width:300px;
  }

  .about-image{
    height:210px;
  }

  .statement p{
    font-size:16px;
  }

  .services-image{
    min-height:230px;
  }

  .services-content{
    padding:22px 0 4px;
  }

  .services-list li{
    font-size:13px;
    line-height:1.45;
  }

  .stat{
    align-items:center;
  }

  .stat strong{
    font-size:36px;
  }

  .portfolio-card{
    flex:0 0 86vw;
    height:420px;
  }

  .portfolio-card-content{
    padding:22px 18px;
  }

  .footer-left h2{
    font-size:28px;
  }

  .footer-email{
    font-size:16px;
  }

  .form{
    padding:18px 14px;
  }
}