@import url("files/fonts.css");

:root { --orange: #ff6825; --ink: #242830; --muted: #777; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; color: var(--muted); background: #fff; font: 14px/1.75 "Roboto Slab", Georgia, serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.site-header { height: 62px; position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: #fff; box-shadow: 0 2px 5px #00000012; }
.logo img { display: block; width: 150px; height: auto; }
nav { display: flex; align-self: stretch; }
nav a { position: relative; display: flex; align-items: center; padding: 0 20px; font: 14px "Exo", Arial, sans-serif; }
nav a + a::before { content: ""; height: 30px; width: 1px; background: #f2f2f2; position: absolute; left: 0; }
nav a:hover, nav a[aria-current] { color: var(--orange); }
nav a[aria-current]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--orange); }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; background: radial-gradient(ellipse at 76% 35%, #fff6ed 0, transparent 48%), linear-gradient(125deg, #e7e7e7, #f3f1ee); min-height: 760px; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 580px; height: 580px; top: 20px; left: calc(50% - 20px); border-radius: 50%; background: radial-gradient(circle, #ffb58138, #ffcfaa16 52%, transparent 70%); transform: translate(var(--glow-x, 0px), var(--glow-y, 0px)); transition: transform 1s ease-out; animation: hero-glow 3s ease-out backwards; pointer-events: none; }
.hero-inner { max-width: 1240px; margin: auto; display: grid; grid-template-columns: 600px 408px; padding: 72px 0 0 100px; align-items: start; }
.hero-copy { padding-top: 108px; }
.hero-copy > * { animation: hero-enter .9s cubic-bezier(.16,1,.3,1) both; }
.hero-copy > .hero-eyebrow { animation-delay: .1s; }
.hero-copy > h1 { animation-delay: .25s; }
.hero-copy > p { animation-delay: .45s; }
.hero-copy > .hero-actions { animation-delay: .65s; }
.hero-eyebrow { display: block; font: 700 12px/1.5 "Exo", Arial, sans-serif; letter-spacing: 2.5px; color: #a94616; margin-bottom: 20px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-contact { color: var(--ink); font: 600 15px "Exo", Arial, sans-serif; }
.hero-contact span { color: var(--orange); margin-left: 8px; }
.portrait-frame { position: relative; border-radius: 120px 12px 12px 12px; box-shadow: 18px 24px 0 #ff68251a, 0 24px 60px #24283015; animation: hero-photo 1.25s .15s cubic-bezier(.16,1,.3,1) backwards; transform: perspective(1000px) rotateX(var(--portrait-x, 0deg)) rotateY(var(--portrait-y, 0deg)); transition: transform .6s ease-out; }
.portrait-frame .portrait { border-radius: inherit; }
.portrait-caption { position: absolute; left: -24px; bottom: 26px; padding: 15px 20px; background: #ffffffee; border-left: 3px solid var(--orange); border-radius: 4px; box-shadow: 0 8px 24px #0001; color: var(--ink); font: 600 14px/1.5 "Exo", Arial, sans-serif; animation: hero-enter .9s .85s cubic-bezier(.16,1,.3,1) both; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-photo { from { opacity: 0; transform: perspective(1000px) translateY(35px) rotateY(-7deg) scale(.96); } to { opacity: 1; transform: perspective(1000px) translateY(0) rotateY(0) scale(1); } }
@keyframes hero-glow { from { opacity: 0; scale: .75; } to { opacity: 1; scale: 1; } }
h1, h2 { font-family: "Exo", Arial, sans-serif; font-weight: 700; }
h1 { color: var(--orange); font-size: 42px; line-height: 1.2; letter-spacing: 6px; margin: 0 0 26px; }
.hero-copy p { font-size: 22px; line-height: 1.4; letter-spacing: 2px; margin: 0 0 28px; }
.button { display: inline-block; padding: 15px 32px; color: white; background: #222; font-size: 13px; font-weight: 700; border: 0; border-radius: 6px; cursor: pointer; transition: background .2s ease; }
.button:hover { background: var(--orange); }
.portrait { width: 408px; height: auto; display: block; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.profile { padding: 72px 12px 0; }
h2 { color: var(--ink); font-size: 30px; line-height: 1.4; letter-spacing: 6px; margin: 0; }
.profile > h2 { border-bottom: 1px solid #eee; padding-bottom: 32px; margin-bottom: 40px; }
.profile-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; }
.profile p { margin: 0 0 18px; }
.profile h3 { font: 700 15px/1.5 "Exo", Arial, sans-serif; margin: 0 0 14px; color: #626773; }
.profile .intro { font-size: 16px; margin-bottom: 40px; }
.dropcap { float: left; font: 36px/50px Arial, sans-serif; background: repeating-linear-gradient(45deg, transparent 0 6px, #ffffff10 6px 8px), var(--orange); color: #fff; width: 50px; text-align: center; margin: 0 10px 0 0; border-radius: 4px; }
.education { color: var(--orange); }
.achievements { margin-top: 68px; margin-bottom: 38px; }
.achievements > h2 { text-align: center; background: #f3f3f3; padding: 42px 20px 46px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 60px 0 48px; background: #f9f9f9; }
.fact { text-align: center; padding: 0 10px; }
.number { color: #444; font: 60px/1 "Exo", Arial, sans-serif; font-variant-numeric: tabular-nums; }
.prefix { font-size: 40px; }
.fact h3 { margin: 0 0 18px; color: var(--orange); font-size: 24px; line-height: 1.1; letter-spacing: 4px; overflow-wrap: anywhere; }
.fact p { margin: 0 auto; max-width: 230px; }
@media (max-width: 1250px) {
  .hero-inner { max-width: 1060px; grid-template-columns: 1.3fr 1fr; gap: 35px; padding: 72px 30px 100px; }
  .portrait { width: 100%; max-width: 408px; }
  h1 { font-size: 36px; letter-spacing: 4px; }
  .hero-copy { padding-top: 110px; }
  .hero-copy p { font-size: 19px; letter-spacing: 1px; }
  .fact h3 { font-size: 21px; letter-spacing: 2px; }
}
@media (max-width: 800px) {
  .site-header { height: 62px; padding-inline: 18px; }
  .menu-toggle { display: grid; gap: 5px; padding: 12px; background: none; border: 0; cursor: pointer; }
  .menu-toggle span { width: 24px; height: 2px; background: var(--orange); }
  nav { display: none; position: absolute; top: 62px; left: 0; right: 0; background: white; box-shadow: 0 4px 5px #00000012; }
  nav.is-open { display: flex; flex-direction: column; }
  nav a { min-height: 48px; padding-inline: 24px; }
  nav a + a::before { display: none; }
  nav a[aria-current]::after { width: 3px; height: 100%; }
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 24px 56px; text-align: center; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(25px, 5vw, 36px); letter-spacing: 3px; }
  .hero-copy p { font-size: 16px; letter-spacing: .5px; }
  .portrait { width: min(100%, 320px); margin-inline: auto; }
  .portrait-frame { width: min(100%, 320px); margin-inline: auto; }
  .portrait-caption { left: -8px; padding: 12px; font-size: 12px; }
  .hero-actions { justify-content: center; }
  .container { width: calc(100% - 40px); }
  .profile { padding: 48px 0 0; }
  h2 { font-size: 25px; letter-spacing: 4px; }
  .profile > h2 { padding-bottom: 24px; margin-bottom: 30px; }
  .profile-columns { grid-template-columns: 1fr; gap: 24px; }
  .profile .intro { margin-bottom: 28px; }
  .achievements { margin-top: 36px; }
  .achievements > h2 { padding: 30px 12px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; padding: 36px 12px; }
  .fact { padding: 0; }
  .fact h3 { font-size: 18px; letter-spacing: 1px; }
  .number { font-size: 50px; }
  .fact p { font-size: 13px; }
}
@media (max-width: 380px) {
  .facts { grid-template-columns: 1fr; }
  h2 { font-size: 22px; letter-spacing: 3px; }
}
.projects { padding: 48px 12px 80px; }
.section-heading { padding-bottom: 30px; border-bottom: 1px solid #e7e7e7; margin-bottom: 38px; }
.projects-intro { margin: 0 0 48px; font-size: 15px; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.project-card { padding: 0; border: 1px solid #eee; border-radius: 12px; overflow: hidden; background: #fff; color: #626773; cursor: zoom-in; text-align: left; box-shadow: 0 4px 18px #24283006; transition: transform .3s ease, box-shadow .3s ease; }
.project-image { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 2; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .65s cubic-bezier(.2,.65,.3,1); }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 20px; color: #fff; background: #242830df; font: 12px/1.5 "Exo", Arial, sans-serif; }
.project-name { display: block; padding: 19px 18px; font: 700 16px/1.4 "Exo", Arial, sans-serif; }
.project-card:focus-visible .project-image img { transform: scale(1.07); }
@media (hover: hover) {
  .project-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px #24283016; }
  .project-card:hover img { transform: scale(1.07); }
  .project-card:hover .project-name { color: var(--orange); }
  .service-grid li:hover .service-check { transform: translateY(-4px); background: #fff3eb; }
}
.services { padding: 72px 0 64px; background: #fafafa url("uploads/2015/10/home_profile_bg_section1.jpg") center top / cover no-repeat; }
.services .container { padding-inline: 12px; }
.services-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.services-copy h3 { margin: 0 0 16px; color: var(--ink); font: 700 24px/1.4 "Exo", Arial, sans-serif; letter-spacing: 4px; }
.services-copy p { margin: 0 0 24px; }
.management-list { list-style: none; padding: 0; margin: 0 0 28px; }
.management-list li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid #2428300b; }
.management-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--orange); font-weight: bold; }
.process-list { padding-left: 26px; margin: 0 0 44px; }
.process-list li { padding: 0 0 12px 4px; }
.process-list li::marker { color: var(--orange); font-weight: 700; }
.service-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px; align-content: start; }
.service-grid li { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; font-size: 13px; }
.service-check { display: grid; place-items: center; width: 138px; height: 138px; border: 3px solid var(--orange); border-radius: 50%; font: 54px/1 Arial, sans-serif; color: #444; background: #ffffff40; transition: transform .3s ease, background .3s ease; }
body:has(.image-viewer[open]) { overflow: hidden; }
.image-viewer { padding: 54px 18px 18px; border: 0; border-radius: 14px; width: min(920px, calc(100% - 32px)); max-height: calc(100dvh - 32px); background: #fff; box-shadow: 0 24px 90px #0004; }
.image-viewer::backdrop { background: #161a23d9; backdrop-filter: blur(5px); }
.viewer-close { position: absolute; right: 8px; top: 5px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #242830; background: #f3f3f3; font: 30px Arial, sans-serif; cursor: pointer; }
.image-viewer figure { margin: 0; text-align: center; }
.image-viewer img { display: block; width: 100%; max-height: calc(100dvh - 155px); object-fit: contain; }
.image-viewer figcaption { margin-top: 12px; font: 700 17px/1.5 "Exo", Arial, sans-serif; color: var(--ink); }
@media (max-width: 1000px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-layout { gap: 32px; }
  .service-check { width: 112px; height: 112px; }
}
@media (max-width: 800px) {
  .projects { padding: 24px 0 48px; }
  .section-heading { padding-bottom: 24px; margin-bottom: 28px; }
  .projects-intro { margin-bottom: 28px; }
  .services { padding: 48px 0; }
  .services .container { padding: 0; }
  .services-layout { grid-template-columns: 1fr; gap: 24px; }
  .services-copy h3 { font-size: 21px; letter-spacing: 3px; }
  .service-grid { gap: 30px 18px; }
}
@media (max-width: 480px) {
  .project-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-check { width: 98px; height: 98px; font-size: 42px; }
  .service-grid li { font-size: 12px; }
}
.contact-intro { text-align: center; padding: 76px 12px; }
.contact-intro h2 { font-size: 36px; }
.contact-intro p { margin: 16px 0 22px; }
.contact-phone { display: block; width: fit-content; margin: 0 auto 14px; color: var(--ink); font: 700 clamp(24px, 4vw, 36px)/1.4 "Exo", Arial, sans-serif; letter-spacing: 3px; }
.contact-email { color: #ad4614; overflow-wrap: anywhere; }
.contact-phone:hover, .contact-email:hover { color: var(--orange); }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.contact-whatsapp { margin-top: 26px; }
.whatsapp-button, .whatsapp-floating { display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #168641; box-shadow: 0 6px 20px #126d3026; transition: background .2s ease, transform .2s ease; }
.whatsapp-button { gap: 12px; padding: 14px 22px; border-radius: 8px; font: 600 15px/1.5 "Exo", Arial, sans-serif; }
.whatsapp-button svg { width: 24px; height: 24px; flex-shrink: 0; }
/* Reserve space for the reCAPTCHA badge at the bottom right. */
.whatsapp-floating { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(92px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; z-index: 9; }
.whatsapp-floating svg { width: 29px; height: 29px; }
@media (hover: hover) {
  .whatsapp-button:hover, .whatsapp-floating:hover { background: #116c34; transform: translateY(-3px); }
}
.contact-form-section { padding: 68px 24px; background: radial-gradient(ellipse at top right, #b4713d60, transparent 60%), #824d27; color: #fff; }
.form-container { max-width: 780px; margin: auto; }
.form-container > h2, .form-container > p { text-align: center; color: #fff; }
.form-container > p { margin: 14px 0 32px; color: #f5e2d4; }
#contact-form { position: relative; }
#contact-form label { display: block; font: 600 14px/1.5 "Exo", Arial, sans-serif; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
#contact-form input, #contact-form textarea { display: block; width: 100%; min-width: 0; margin-top: 8px; padding: 14px 16px; border: 1px solid #ffffff70; border-radius: 6px; color: var(--ink); background: #fff; font: 16px/1.5 "Roboto Slab", Georgia, serif; }
#contact-form textarea { resize: vertical; min-height: 140px; }
#contact-form input:focus-visible, #contact-form textarea:focus-visible { outline: 3px solid #ffc18f; outline-offset: 3px; }
.form-submit { display: flex; align-items: center; gap: 24px; }
.form-submit .button { font: 600 15px/1.5 "Exo", Arial, sans-serif; padding: 15px 24px; flex-shrink: 0; }
.form-submit > span { font-size: 12px; color: #f5e2d4; }
.form-submit .button:disabled { opacity: .65; cursor: wait; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#form-status { margin: 20px 0 0; }
#form-status:empty { margin: 0; }
#form-status:not(:empty) { padding: 14px 18px; border: 1px solid #ffffff60; border-radius: 6px; background: #0002; }
.site-footer { background: #393c40; color: #d9dadc; }
.footer-main { padding: 44px 12px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-main h2 { color: #fff; font-size: 22px; letter-spacing: 3px; margin-bottom: 20px; }
.social-links { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 14px "Exo", Arial, sans-serif; }
.social-links a > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #242830; background: var(--orange); font: 700 20px Arial, sans-serif; }
.social-links a:hover, .back-top:hover { color: #ffac80; }
.back-top { display: flex; align-items: center; gap: 16px; font: 14px "Exo", Arial, sans-serif; white-space: nowrap; }
.back-top span { display: grid; place-items: center; width: 44px; height: 44px; background: #27292d; border-radius: 6px; font-size: 22px; }
.footer-bottom { padding: 24px; text-align: center; border-top: 1px solid #ffffff14; font-size: 12px; }
.footer-bottom a { color: #ffac80; }
@media (max-width: 600px) {
  .contact-intro { padding: 48px 0; }
  .contact-form-section { padding: 44px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-submit, .footer-main { flex-direction: column; align-items: flex-start; }
  .form-submit { gap: 16px; }
  .footer-main { padding: 36px 0; }
  .social-links { gap: 12px 18px; }
  .footer-separator { display: block; font-size: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-button, .whatsapp-floating { transition: none; }
  .whatsapp-button:hover, .whatsapp-floating:hover { transform: none; }
  .hero-copy > *, .portrait-frame, .portrait-caption, .hero::before { animation: none; transition: none; transform: none; }
  html { scroll-behavior: auto; }
  .project-card, .project-image img, .service-check { transition: none; }
  .project-card:hover, .project-card:hover img, .project-card:focus-visible .project-image img, .service-grid li:hover .service-check { transform: none; }
}
