@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --teal-950:#0b2f2a;
  --teal-900:#0f3d36;
  --teal-800:#154c43;
  --teal-700:#1d5f53;
  --cream:#f6f1e6;
  --cream-2:#efe7d6;
  --beige:#d9c6a5;
  --beige-light:#ecdfc4;
  --charcoal:#211e1a;
  --charcoal-60:rgba(33,30,26,.62);
  --white:#ffffff;
  --serif:'Sora','Manrope','Segoe UI',system-ui,-apple-system,sans-serif;
  --sans:'Manrope','Segoe UI',system-ui,-apple-system,sans-serif;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;background:var(--cream);color:var(--charcoal);font-family:var(--sans);-webkit-font-smoothing:antialiased;overflow-x:hidden;}
img,svg{max-width:100%;display:block;}
h1,h2,h3,h4{font-family:var(--serif);margin:0;text-wrap:balance;font-weight:600;}
em{font-style:normal;}
p{margin:0;line-height:1.65;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;cursor:pointer;}
.wrap{max-width:1600px;margin:0 auto;padding-inline:40px;}
@media (max-width:640px){.wrap{padding-inline:18px;}}

.eyebrow{font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;font-weight:700;color:var(--teal-800);}
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 26px;border-radius:999px;font-weight:700;font-size:.92rem;border:1.5px solid transparent;transition:transform .25s ease,background .25s ease,color .25s ease,border-color .25s ease;white-space:nowrap;}
.btn:hover{transform:translateY(-2px);}
.btn-solid{background:var(--beige);color:var(--teal-950);}
.btn-solid:hover{background:var(--beige-light);}
.btn-outline-dark{border-color:var(--charcoal);color:var(--charcoal);}
.btn-outline-dark:hover{background:var(--charcoal);color:var(--cream);}
.btn-outline-light{border-color:rgba(246,241,230,.5);color:var(--cream);}
.btn-outline-light:hover{background:rgba(246,241,230,.12);border-color:var(--cream);}
.btn svg{width:16px;height:16px;transition:transform .25s ease;}
.btn:hover svg{transform:translateX(3px);}

.grain{position:relative;}
.grain::before{content:"";position:absolute;inset:0;pointer-events:none;mix-blend-mode:overlay;opacity:.5;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");}

/* ===== HEADER ===== */
header{position:sticky;top:0;z-index:100;background:linear-gradient(155deg,var(--teal-800),var(--teal-950) 120%);overflow:hidden;border-bottom:1px solid rgba(217,198,165,.4);}
header.scrolled{box-shadow:0 8px 24px rgba(11,47,42,.35);}
header::before{content:"";position:absolute;left:-760px;top:0;width:1290px;height:1000px;background:url("assets/logo-icon-watermark.png") center/cover no-repeat;opacity:.15;pointer-events:none;filter:brightness(1.7);}
.nav-row{position:relative;display:flex;align-items:center;justify-content:space-between;padding-block:18px;transition:padding .3s ease;}
header.scrolled .nav-row{padding-block:12px;}
.brand{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-weight:600;font-size:1.3rem;letter-spacing:.02em;color:var(--cream);}
.brand small{display:block;font-family:var(--sans);font-size:.55rem;letter-spacing:.28em;font-weight:700;color:var(--beige-light);}
.logo-mark{width:38px;height:38px;flex:none;object-fit:contain;}
.nav-links{display:flex;gap:34px;font-size:.92rem;font-weight:600;}
.nav-links a{position:relative;color:rgba(246,241,230,.82);padding-block:4px;}
.nav-links a.active{color:var(--cream);}
.nav-links a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--beige-light);transition:width .25s ease;}
.nav-links a.active::after,.nav-links a:hover::after{width:100%;}
.nav-actions{display:flex;align-items:center;gap:14px;}
.icon-btn{width:38px;height:38px;border-radius:50%;border:1.5px solid rgba(246,241,230,.25);display:flex;align-items:center;justify-content:center;background:transparent;color:var(--cream);transition:border-color .25s,background .25s;flex:none;}
.icon-btn:hover{border-color:var(--beige-light);background:rgba(246,241,230,.1);}
.icon-btn svg{width:17px;height:17px;}
.burger{display:none;background:none;border:none;width:38px;height:38px;align-items:center;justify-content:center;}
.burger span,.burger span::before,.burger span::after{content:"";display:block;width:20px;height:2px;background:var(--cream);position:relative;transition:.25s;}
.burger span::before{position:absolute;top:-7px;}
.burger span::after{position:absolute;top:7px;}

.mobile-drawer{position:fixed;inset:0;background:var(--cream);z-index:200;display:flex;flex-direction:column;padding:24px;transform:translateY(-100%);transition:transform .35s ease;}
.mobile-drawer.open{transform:translateY(0);}
.mobile-drawer .top{display:flex;justify-content:space-between;align-items:center;margin-bottom:40px;}
.mobile-drawer nav{display:flex;flex-direction:column;gap:24px;font-family:var(--serif);font-size:1.8rem;}
.mobile-drawer .foot{margin-top:auto;display:flex;flex-direction:column;gap:14px;}

/* ===== HERO (dark teal, full width) ===== */
.hero{background:linear-gradient(155deg,var(--teal-800),var(--teal-950) 70%);color:var(--cream);padding-top:48px;padding-bottom:40px;position:relative;overflow:hidden;}
.hero::before{content:"";position:absolute;left:-760px;top:-88px;width:1290px;height:1000px;background:url("assets/logo-icon-watermark.png") center/cover no-repeat;opacity:.15;pointer-events:none;filter:brightness(1.7);}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.hero-copy .eyebrow{color:var(--beige-light);display:block;margin-bottom:18px;}
.hero-copy h1{font-size:clamp(2.6rem,5vw,4.2rem);line-height:1.05;color:var(--cream);}
.hero-copy h1 em{color:var(--beige-light);}
.hero-copy p.lead{margin-top:20px;font-size:1.08rem;max-width:46ch;color:rgba(246,241,230,.75);}
.hero-actions{display:flex;gap:16px;margin-top:34px;flex-wrap:wrap;}
.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:36px;}
.trust-item{display:flex;gap:12px;align-items:flex-start;}
.trust-item svg{width:24px;height:24px;flex:none;color:var(--beige-light);margin-top:2px;}
.trust-item h4{font-family:var(--sans);font-size:.9rem;font-weight:800;color:var(--cream);}
.trust-item p{font-size:.8rem;color:rgba(246,241,230,.6);margin-top:3px;}

.hero-visual{position:relative;aspect-ratio:4/5;overflow:visible;}
.hero-photo,.hero-photo-shade{
  -webkit-mask-image:radial-gradient(85% 85% at 50% 42%,#000 58%,transparent 100%);
  mask-image:radial-gradient(85% 85% at 50% 42%,#000 58%,transparent 100%);
}
.hero-photo{width:100%;height:100%;object-fit:cover;object-position:50% 35%;transition:transform .6s ease;}
.hero-visual:hover .hero-photo{transform:scale(1.035);}
.hero-photo-shade{position:absolute;inset:0;background:linear-gradient(200deg,rgba(11,47,42,0) 40%,rgba(11,47,42,.7) 100%),linear-gradient(0deg,rgba(11,47,42,.4),transparent 30%);pointer-events:none;}
.hero-side-labels{position:absolute;right:14px;top:14px;display:flex;flex-direction:column;gap:6px;background:rgba(11,47,42,.72);backdrop-filter:blur(3px);padding:14px 10px;border-radius:10px;}
.hero-side-labels span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:.62rem;letter-spacing:.16em;font-weight:800;color:var(--cream);text-transform:uppercase;}
.hero-side-labels span:nth-child(odd){color:var(--beige-light);}
.hero-locate{position:absolute;left:16px;bottom:16px;display:flex;align-items:center;gap:8px;background:rgba(11,47,42,.72);backdrop-filter:blur(3px);padding:9px 14px;border-radius:999px;}
.hero-locate svg{width:15px;height:15px;color:var(--beige-light);flex:none;}
.hero-locate span{font-size:.72rem;font-weight:700;color:var(--cream);letter-spacing:.02em;}

/* ===== SECTION HEADS ===== */
section{padding-block:96px;}
@media (max-width:780px){section{padding-block:60px;}}
.split-head{display:flex;flex-direction:column;gap:22px;}
.split-head h2{font-size:clamp(2.2rem,3.8vw,3.1rem);line-height:1.12;}
.split-head h2 em{color:var(--teal-800);}
.split-head.light h2{color:var(--cream);}
.split-head.light h2 em{color:var(--beige-light);}
.split-head.light .eyebrow{color:var(--beige-light);}
.split-head p{color:var(--charcoal-60);font-size:.98rem;max-width:38ch;}
.split-head.light p{color:rgba(246,241,230,.72);}

/* ===== SERVICIOS: left text / right scroll row ===== */
.services{background:var(--cream);}
.services-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start;}
.service-row-wrap{position:relative;}
.service-cards{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px;}
.service-cards::-webkit-scrollbar{display:none;}
.service-card{background:var(--white);border-radius:18px;overflow:hidden;border:1px solid rgba(33,30,26,.07);transition:transform .3s ease,box-shadow .3s ease;flex:0 0 300px;scroll-snap-align:start;}
.service-card:hover{transform:translateY(-6px);box-shadow:0 24px 38px -22px rgba(11,47,42,.28);}
.service-visual{aspect-ratio:16/9;position:relative;}
.service-body{padding:1cm 2cm;}
.service-body h3{font-size:1rem;margin-bottom:5px;}
.service-body p{font-size:.8rem;color:var(--charcoal-60);}
.service-more{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-size:.76rem;font-weight:800;color:var(--teal-800);}
.service-more svg{width:12px;height:12px;transition:transform .2s;}
.service-card:hover .service-more svg{transform:translateX(4px);}
.scene{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;}
.scene svg{width:52%;height:52%;}
.row-arrows{display:flex;gap:10px;justify-content:flex-end;margin-top:22px;}
.row-arrows.corner{position:absolute;top:-58px;right:0;margin-top:0;}
.arrow-btn.on-light{border-color:rgba(33,30,26,.18);color:var(--charcoal);}
.arrow-btn.on-light:hover{background:var(--teal-800);border-color:var(--teal-800);color:var(--cream);}
.btn-green{background:var(--teal-800);color:var(--beige-light);}
.btn-green:hover{background:var(--teal-700);}

/* ===== PRODUCTOS: left text / right scroll row + arrows ===== */
.products{background:var(--teal-950);color:var(--cream);position:relative;}
.products-grid{display:grid;grid-template-columns:.8fr 1.5fr;gap:50px;align-items:start;}
.product-cards{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px;}
.product-cards::-webkit-scrollbar{display:none;}
.product-card{background:rgba(246,241,230,.05);border:1px solid rgba(246,241,230,.12);border-radius:18px;overflow:hidden;transition:transform .3s ease,border-color .3s ease;flex:0 0 300px;scroll-snap-align:start;}
.product-card:hover{transform:translateY(-6px);border-color:rgba(216,185,138,.5);}
.swatch{aspect-ratio:16/9;position:relative;overflow:hidden;}
.swatch .corner{position:absolute;width:30px;height:30px;right:-15px;top:-15px;background:var(--teal-950);transform:rotate(45deg);transition:transform .35s ease;box-shadow:-2px 2px 6px rgba(0,0,0,.3);}
.product-card:hover .swatch .corner{transform:rotate(45deg) translate(5px,-5px);}
.product-info{padding:1cm 2cm;}
.product-info h3{font-size:.95rem;color:var(--cream);}
.product-info p.desc{font-size:.76rem;color:rgba(246,241,230,.6);margin-top:4px;}
.product-price{display:flex;justify-content:space-between;align-items:center;margin-top:12px;}
.product-price .price{font-family:var(--serif);color:var(--beige-light);font-size:1rem;}
.product-price .price small{font-family:var(--sans);font-size:.64rem;color:rgba(246,241,230,.5);display:block;font-weight:600;}
.prod-link{font-size:.72rem;font-weight:800;color:var(--cream);display:inline-flex;align-items:center;gap:5px;border-bottom:1px solid rgba(246,241,230,.3);padding-bottom:2px;}
.prod-link svg{width:11px;height:11px;}
.carousel-arrows{display:flex;gap:10px;justify-content:flex-end;margin-top:24px;}
.arrow-btn{width:40px;height:40px;border-radius:50%;border:1.5px solid rgba(246,241,230,.25);background:transparent;color:var(--cream);display:flex;align-items:center;justify-content:center;transition:.25s;}
.arrow-btn:hover{background:var(--beige);border-color:var(--beige);color:var(--teal-950);}
.arrow-btn svg{width:16px;height:16px;}

/* ===== PROYECTOS RECIENTES: photo | text | value list ===== */
.projects{background:var(--white);}
.projects-grid{display:grid;grid-template-columns:.9fr 1fr .9fr;gap:44px;align-items:center;}
.project-photo{position:relative;aspect-ratio:4/5;border-radius:20px;overflow:hidden;background:linear-gradient(160deg,#123f38,#0b2f2a);box-shadow:0 30px 55px -25px rgba(11,47,42,.4);}
.project-photo .items{position:absolute;inset:0;}
.mug{position:absolute;left:16%;bottom:14%;width:26%;aspect-ratio:1;background:#0d332c;border:1px solid rgba(216,185,138,.3);border-radius:8px;display:flex;align-items:center;justify-content:center;}
.mug .logo-mark{width:46%;height:46%;}
.notebook{position:absolute;right:12%;top:12%;width:34%;aspect-ratio:.75;background:#134c43;border:1px solid rgba(216,185,138,.25);border-radius:4px;box-shadow:0 14px 24px rgba(0,0,0,.3);transform:rotate(4deg);display:flex;align-items:center;justify-content:center;}
.notebook .logo-mark{width:38%;height:38%;}
.tote{position:absolute;left:30%;top:16%;width:30%;aspect-ratio:.85;background:#efe7d6;border-radius:4px 4px 10px 10px;box-shadow:0 14px 24px rgba(0,0,0,.25);transform:rotate(-6deg);display:flex;align-items:center;justify-content:center;}
.tote .logo-mark{width:34%;height:34%;}

.projects-copy .eyebrow{margin-bottom:14px;display:block;}
.projects-copy .btn{margin-top:26px;}
.value-list{display:flex;flex-direction:column;gap:22px;}
.value-item{display:flex;gap:12px;align-items:flex-start;}
.value-item svg{width:22px;height:22px;flex:none;color:var(--beige);margin-top:2px;}
.value-item h4{font-size:.9rem;font-family:var(--sans);font-weight:800;color:var(--charcoal);}
.value-item p{font-size:.8rem;color:var(--charcoal-60);margin-top:3px;}

/* ===== SOBRE AMSO: photo left / text right ===== */
.about{background:linear-gradient(160deg,var(--teal-900),var(--teal-950));color:var(--cream);position:relative;}
.about-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:60px;align-items:center;}
.about-visual{position:relative;aspect-ratio:4/5;border-radius:22px;background:linear-gradient(160deg,#123f38,#0a2a25);overflow:hidden;box-shadow:0 30px 60px -25px rgba(0,0,0,.5);}
.desk-mat{position:absolute;inset:9%;background:repeating-linear-gradient(0deg,rgba(246,241,230,.05) 0 1px,transparent 1px 24px),repeating-linear-gradient(90deg,rgba(246,241,230,.05) 0 1px,transparent 1px 24px);border-radius:14px;border:1px solid rgba(246,241,230,.1);}
.fan{position:absolute;left:12%;bottom:14%;display:flex;}
.fan i{width:36px;height:74px;border-radius:4px;margin-left:-22px;box-shadow:0 8px 16px rgba(0,0,0,.35);transform-origin:bottom center;}
.fan i:nth-child(1){background:var(--beige);transform:rotate(-18deg);}
.fan i:nth-child(2){background:#c8734b;transform:rotate(-6deg);}
.fan i:nth-child(3){background:#8fae94;transform:rotate(6deg);}
.fan i:nth-child(4){background:var(--teal-700);transform:rotate(18deg);}
.monitor{position:absolute;right:10%;bottom:13%;width:46%;}
.monitor .stand{width:14%;height:10px;background:#0d332c;margin:0 auto;}
.monitor .screen{background:#0a2a25;border:2px solid #1d5f53;border-radius:6px;aspect-ratio:16/10;position:relative;overflow:hidden;}
.monitor .screen::after{content:"";position:absolute;inset:8%;background:linear-gradient(135deg,rgba(216,185,138,.55),rgba(29,95,83,.4));border-radius:3px;}
.about-script{position:absolute;top:7%;right:8%;text-align:right;background:rgba(11,47,42,.55);padding:12px 14px;border-radius:10px;}
.about-script p{font-family:var(--serif);color:var(--beige-light);font-size:1rem;line-height:1.25;}
.about-script .logo-mark{width:22px;height:22px;margin-left:auto;margin-top:6px;}

.about-copy .eyebrow{color:var(--beige-light);}
.about-copy h2{color:var(--cream);font-size:clamp(1.9rem,3.2vw,2.5rem);margin-top:14px;}
.about-copy h2 em{color:var(--beige-light);}
.about-copy p.lead{margin-top:18px;color:rgba(246,241,230,.72);max-width:48ch;}
.about-cta{margin-top:32px;}

/* ===== TESTIMONIALS ===== */
.testimonials{background:var(--cream);}
.test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.test-card{background:var(--white);border-radius:20px;padding:28px 26px;border:1px solid rgba(33,30,26,.07);display:flex;flex-direction:column;gap:16px;}
.test-card .quote-mark{font-family:var(--serif);font-size:2.4rem;color:var(--beige);line-height:1;}
.test-card p.body{font-size:.94rem;color:var(--charcoal);}
.test-foot{display:flex;align-items:center;gap:12px;margin-top:auto;}
.avatar{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-weight:700;color:var(--cream);font-size:.9rem;flex:none;}
.test-name{font-size:.86rem;font-weight:800;}
.test-role{font-size:.74rem;color:var(--charcoal-60);}
.stars{display:flex;gap:2px;margin-top:2px;color:var(--beige);font-size:.75rem;}

/* ===== FOOTER ===== */
footer{background:var(--teal-950);color:rgba(246,241,230,.78);padding-top:64px;}
.foot-top{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:50px;flex-wrap:wrap;}
.foot-top .brand{color:var(--cream);}
.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:40px;padding-bottom:44px;border-bottom:1px solid rgba(246,241,230,.1);}
.foot-brand p.tag{font-family:var(--serif);color:var(--beige-light);font-size:1.02rem;margin:14px 0 16px;}
.foot-contact li{display:flex;gap:10px;align-items:flex-start;font-size:.85rem;margin-bottom:12px;}
.foot-contact svg{width:16px;height:16px;color:var(--beige-light);flex:none;margin-top:2px;}
.foot-col h5{font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;color:var(--beige-light);margin-bottom:16px;font-weight:800;}
.foot-col ul{display:flex;flex-direction:column;gap:11px;font-size:.87rem;}
.foot-col a:hover{color:var(--cream);}
.social-row{display:flex;gap:10px;margin-top:6px;}
.social-row a{width:34px;height:34px;border-radius:50%;border:1px solid rgba(246,241,230,.2);display:flex;align-items:center;justify-content:center;transition:.25s;}
.social-row a:hover{background:var(--beige);border-color:var(--beige);color:var(--teal-950);}
.social-row svg{width:14px;height:14px;}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;padding-block:22px;font-size:.78rem;color:rgba(246,241,230,.5);flex-wrap:wrap;gap:10px;}
.foot-bottom .links{display:flex;gap:18px;}

.reveal{opacity:1;transform:none;}
@media (prefers-reduced-motion:no-preference){
  .reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease;}
  .reveal.in{opacity:1;transform:none;}
}

@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-visual{order:-1;max-width:420px;margin:0 auto;}
  .trust-grid{grid-template-columns:1fr;gap:18px;}
  .services-grid,.products-grid{grid-template-columns:1fr;}
  .projects-grid{grid-template-columns:1fr;}
  .project-photo{max-width:360px;}
  .about-grid{grid-template-columns:1fr;}
  .test-grid{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr 1fr;row-gap:36px;}
}
@media (max-width:640px){
  .nav-links{display:none;}
  .burger{display:flex;}
  .service-card,.product-card{flex-basis:220px;}
  .foot-grid{grid-template-columns:1fr;}
  .foot-top{flex-direction:column;}
  .foot-bottom{flex-direction:column;align-items:flex-start;}
}
