/* Dedicated Rovazo /team/ page — built to match the main site */
.team-page{background:#fff;color:#162c42}
.team-page .site-header{position:sticky;top:0}
.team-page .desktop-nav a[aria-current="page"]{color:#0a2b4a;position:relative}
.team-page .desktop-nav a[aria-current="page"]:after{content:"";height:2px;background:#bd9a68;position:absolute;bottom:-11px;inset-inline:0}
.team-kicker,.team-overline{font-size:11px;letter-spacing:.19em;font-weight:800;color:#a37c4b}
.team-kicker{display:flex;align-items:center;gap:10px}
.team-kicker>span{height:2px;width:28px;background:#bd9a68}
.team-hero{position:relative;background:#f3f5f5;overflow:hidden}
.team-hero-inner{min-height:375px;display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);position:relative;isolation:isolate}
.team-hero-copy{padding:62px 16px 48px 0;position:relative;z-index:2}
.team-hero h1{font:normal 700 clamp(50px,6vw,86px)/1.07 Georgia,"Times New Roman",serif;letter-spacing:-.065em;color:#0b2947;margin:16px 0 13px}
.team-hero h1 em{font-weight:400;font-style:italic;color:#b28e5f}
.team-hero-copy>p{color:#52667a;font-size:16px;line-height:1.85;max-width:510px;margin:0 0 29px}
.team-hero-benefits{display:flex;align-items:flex-start;gap:27px}
.team-hero-benefits>div{display:flex;align-items:center;gap:12px}
.team-mini-icon{display:grid;place-items:center;border:1px solid #dbe3e5;width:41px;height:41px;border-radius:12px;font-size:24px;color:#153954}
.team-hero-benefits b,.team-hero-benefits small{display:block}
.team-hero-benefits b{font-size:12px;color:#18334d}
.team-hero-benefits small{font-size:11px;color:#788695;line-height:1.4;margin-top:1px}
.team-hero-photo{position:relative;min-height:375px;background:#dae0de url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1400&q=84') 50% 45%/cover no-repeat}
.team-hero-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f3f5f5 0%,rgba(243,245,245,.87) 12%,transparent 47%)}
.team-hero-script{position:absolute;right:32px;top:60px;max-width:270px;font:italic 35px/1.18 Georgia,serif;letter-spacing:-.025em;text-align:right;color:#0b2947;text-shadow:0 1px 6px rgba(255,255,255,.6);transform:rotate(-5deg)}
.team-hero-script span{color:#ad8a60}
.team-hero-credit{position:absolute;bottom:16px;right:16px;padding:5px 8px;background:rgba(8,39,71,.6);color:#fff;font-size:10px;border-radius:5px}
.team-spotlight-wrap{padding-top:36px}
.team-spotlight{display:grid;grid-template-columns:minmax(0,.38fr) minmax(0,.62fr);background:linear-gradient(115deg,#f9f7f3,#f5f3ef);border-radius:22px;overflow:hidden;box-shadow:0 15px 38px rgba(12,34,52,.07);border:1px solid #efece7}
.team-founder-image{min-height:410px;overflow:hidden;background:#d9e2e1}
.team-founder-image img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
.team-founder-content{padding:44px 45px;align-self:center}
.team-founder-content h2{font:700 clamp(38px,4vw,55px)/1.1 Georgia,"Times New Roman",serif;letter-spacing:-.045em;color:#0b2947;margin:10px 0 7px}
.team-founder-role{font-size:13px;font-weight:800;color:#ad8758;margin:0 0 23px}
.team-founder-content>p:not(.team-founder-role){max-width:650px;color:#5a6976;font-size:14px;line-height:1.85}
.team-founder-highlights{display:flex;justify-content:space-between;gap:16px;margin-top:25px;padding-top:18px;border-top:1px solid #e6e1d9}
.team-founder-highlights>div{display:grid;grid-template-columns:39px auto;gap:0 10px;align-content:center;min-width:0}
.team-founder-highlights span{grid-row:1/3;display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#ede5d9;color:#a77b40;font-size:23px}
.team-founder-highlights b{font-size:12px;color:#15354e;line-height:1.2}
.team-founder-highlights small{font-size:10px;color:#859098}
.team-founder-contact{display:inline-flex;gap:9px;align-items:center;font-size:13px;font-weight:800;color:#0a2b4a;margin-top:27px;border-bottom:1px solid #b38e5e;padding-bottom:5px}
.team-list-section{padding-top:68px;padding-bottom:90px}
.team-section-top{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:28px}
.team-section-top h2{font:700 clamp(42px,5vw,61px)/1.16 Georgia,serif;letter-spacing:-.045em;color:#092942;margin:6px 0 0}
.team-section-top h2 span{color:#b68f5c}
.team-section-top p{font-size:13px;color:#73818e;max-width:385px;line-height:1.65;margin:0 0 6px}
.team-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}
.team-person{border:1px solid #e6ebef;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 7px 24px rgba(11,39,65,.04);min-width:0;transition:transform .2s,box-shadow .2s}
.team-person:hover{transform:translateY(-4px);box-shadow:0 15px 38px rgba(11,39,65,.1)}
.team-person-photo{background-color:#e7ebee;background-image:url('/assets/team-headshots.webp');background-repeat:no-repeat;background-size:800% 100%;background-position:var(--pos,0%) center;width:100%;aspect-ratio:13/12}
.team-person-copy{padding:15px 16px 17px}
.team-person-copy h3{color:#102e49;line-height:1.25;font-size:15px;font-weight:800;letter-spacing:-.02em;margin:0 0 4px;overflow-wrap:anywhere}
.team-person-copy p{font-size:12px;color:#72808b;margin:0}
.team-office-visual{width:100%;aspect-ratio:13/12;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px;background:linear-gradient(145deg,#122f4b,#061e37);color:#fff;overflow:hidden}
.team-office-mark{font:italic 57px Georgia,serif;color:#b99569;border-right:1px solid #59728a;padding-right:14px;line-height:1}
.team-office-visual>span:last-child{font:700 clamp(11px,1.5vw,19px) Georgia,serif;letter-spacing:.065em;white-space:nowrap}
.team-office-visual small{display:block;font:600 9px Arial,sans-serif;letter-spacing:.23em;margin-top:3px}
.team-portrait-note{font-size:11px;color:#86929c;line-height:1.7;text-align:center;margin:24px auto 0;max-width:760px}
.team-cta-section{background:linear-gradient(122deg,#0d3455,#09243f 75%);color:#fff}
.team-cta{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center;padding-block:60px}
.team-cta .team-kicker{color:#d7b887}
.team-cta h2{font:700 clamp(35px,4.5vw,55px)/1.13 Georgia,serif;letter-spacing:-.04em;margin:15px 0}
.team-cta h2 em{color:#d5b589;font-weight:400}
.team-cta-text>p{color:#c5d4e1;font-size:13px;line-height:1.8;max-width:490px;margin:0}
.team-cta-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.team-cta-actions .btn{white-space:nowrap;padding-inline:10px}
.btn-contact-outline{border:1px solid #6b859a;background:transparent;color:#fff}
.btn-contact-outline:hover{background:#1c4969}
.team-cta-actions .btn-whatsapp{grid-column:1/-1}
.team-cta-hint{font-size:12px;color:#bed0dc;grid-column:1/-1;text-align:center;margin-top:5px}
.team-footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:40px;padding:58px 0 40px}
.team-footer-grid img{width:235px;height:auto}
.team-footer-grid p{font:italic 16px/1.5 Georgia,serif;color:#708292;margin:14px 0 0}
.team-footer-grid nav,.team-footer-grid>div:last-child{display:grid;align-content:start;justify-items:start;gap:11px}
.team-footer-grid strong{font-size:12px;margin-bottom:6px;color:#102f49}
.team-footer-grid nav a,.team-footer-grid>div:last-child a{font-size:12px;color:#697d8b}
.team-footer-grid a:hover{color:#0d3b5c}
.team-footer-bottom{border-top:1px solid #e5eaf0;padding:18px 0 27px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:#81919e}
.team-footer-bottom a{font-weight:700;color:#0b3457}
@media(max-width:1040px){
 .team-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
 .team-founder-content{padding:33px}
 .team-founder-highlights{gap:10px}
 .team-founder-highlights>div{grid-template-columns:1fr;gap:4px}
 .team-founder-highlights span{grid-row:auto}
 .team-hero-copy{padding-block:55px 45px}
}
@media(max-width:830px){
 .team-page .container{width:calc(100% - 36px)}
 .team-hero-inner{grid-template-columns:1fr}
 .team-hero-copy{padding:46px 0 29px}
 .team-hero h1{font-size:clamp(53px,8.5vw,76px)}
 .team-hero-photo{min-height:290px;border-radius:16px 16px 0 0}
 .team-hero-photo:before{background:linear-gradient(0deg,rgba(5,26,45,.1),transparent 80%)}
 .team-hero-script{top:34px;right:20px;font-size:30px}
 .team-hero-credit{right:12px}
 .team-spotlight-wrap{padding-top:24px}
 .team-founder-content{padding:25px}
 .team-founder-image{min-height:420px}
 .team-founder-highlights>div{grid-template-columns:36px 1fr}
 .team-founder-highlights span{grid-row:1/3}
 .team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .team-list-section{padding-block:55px 65px}
 .team-cta{grid-template-columns:1fr;gap:29px}
}
@media(max-width:640px){
 .team-page .container{width:calc(100% - 32px)}
 .team-hero-copy{padding:41px 0 25px}
 .team-hero h1{font-size:clamp(44px,12vw,63px);margin:15px 0}
 .team-hero-copy>p{font-size:14px;line-height:1.65;margin-bottom:22px}
 .team-hero-benefits{gap:14px}
 .team-hero-benefits>div{gap:7px}
 .team-mini-icon{width:34px;height:34px;font-size:19px;border-radius:9px}
 .team-hero-benefits b{font-size:11px}
 .team-hero-benefits small{font-size:10px}
 .team-hero-photo{min-height:235px}
 .team-hero-script{font-size:24px;top:24px}
 .team-spotlight{grid-template-columns:1fr}
 .team-founder-image{height:340px;min-height:0}
 .team-founder-image img{object-position:center 27%}
 .team-founder-content{padding:25px 21px 28px}
 .team-founder-content h2{font-size:38px}
 .team-founder-content>p:not(.team-founder-role){font-size:13px}
 .team-founder-highlights{gap:8px;margin-top:20px}
 .team-founder-highlights>div{grid-template-columns:1fr;gap:4px}
 .team-founder-highlights span{grid-row:auto;width:33px;height:33px}
 .team-founder-highlights b{font-size:11px}
 .team-founder-highlights small{font-size:10px}
 .team-section-top{display:block}
 .team-section-top h2{font-size:43px}
 .team-section-top p{margin:13px 0 0;font-size:12px}
 .team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
 .team-person{border-radius:13px}
 .team-person-copy{padding:11px 12px 13px}
 .team-person-copy h3{font-size:14px}
 .team-person-copy p{font-size:11px}
 .team-office-mark{font-size:42px;padding-right:9px}
 .team-office-visual{gap:8px}
 .team-office-visual>span:last-child{font-size:11px}
 .team-office-visual small{font-size:7px}
 .team-cta{padding-block:48px}
 .team-cta h2{font-size:42px}
 .team-cta-actions{grid-template-columns:1fr 1fr}
 .team-cta-actions .btn{font-size:12px}
 .team-footer-grid{grid-template-columns:1fr 1fr;gap:27px;padding:43px 0 25px}
 .team-footer-grid>div:first-child{grid-column:1/-1}
 .team-footer-bottom{flex-wrap:wrap;justify-content:flex-start;padding-bottom:85px}
}
@media(max-width:350px){
 .team-grid{gap:10px}
 .team-person-copy h3{font-size:12px}
 .team-person-copy p{font-size:10px}
 .team-founder-highlights b{font-size:10px}
 .team-cta-actions{grid-template-columns:1fr}
 .team-cta-actions .btn-whatsapp{grid-column:auto}
}

/* Team hero: clean typography, no unrelated interior photo */
.team-page .team-hero{background:linear-gradient(133deg,#f3f7fa,#edf3f7)}
.team-page .team-hero-inner{display:block;min-height:0}
.team-page .team-hero-copy{max-width:950px;padding:55px 0 62px}
.team-page .team-hero h1{margin:17px 0;font-size:clamp(50px,7vw,86px)}
.team-page .team-hero-copy>p{max-width:730px}
.team-page .team-spotlight-wrap{padding-top:24px}
.team-page .team-founder-image{background:#dfe8e4}
.team-page .team-founder-image img{object-fit:cover;object-position:center 24%}
.team-page .team-person-photo{background-size:800% auto;background-position-x:var(--pos);background-position-y:6%;aspect-ratio:4/4.5}
.team-page .team-portrait-note{font-size:10px;color:#8795a1}
@media(max-width:640px){
 .team-page .team-hero-copy{padding:39px 0 43px}
 .team-page .team-hero h1{font-size:clamp(45px,12vw,63px)}
 .team-page .team-spotlight-wrap{padding-top:18px}
 .team-page .team-founder-image{height:385px}
 .team-page .team-person-photo{aspect-ratio:4/4.8}
}
