{"version":3,"file":"Footer_code.C9jCmLXj.mjs","names":[],"sources":["https:/framerusercontent.com/modules/BtkYSoM02sO5Hp74ZRkV/k3d9o7I6qkJInwKWfUoL/Footer_code.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function Footer(props){const{logoImage,backgroundColor,textColor,fontStyle,links,copyrightText,style}=props;const safeLinks=links||[];const footerClass=\"footer-altered-space\";return /*#__PURE__*/_jsxs(\"footer\",{className:footerClass,style:{...style,backgroundColor:backgroundColor||\"#CFF073\",color:textColor||\"#111111\",fontFamily:fontStyle?.fontFamily||\"Inter, sans-serif\",fontWeight:fontStyle?.fontWeight||400},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .${footerClass} {\n                    width: 100%;\n                    box-sizing: border-box;\n                    padding: 60px 5%;\n                    display: flex;\n                    flex-direction: row;\n                    flex-wrap: wrap;\n                    justify-content: space-between; \n                    align-items: flex-start;\n                    gap: 50px;\n                    height: auto !important; \n                    min-height: max-content;\n                }\n                \n                .${footerClass} .left-col {\n                    display: flex;\n                    flex-direction: column;\n                    align-items: flex-start;\n                    flex: 1 1 250px; \n                    max-width: 320px; \n                }\n\n                .${footerClass} img {\n                    width: 100%;\n                    max-width: 320px;\n                    height: auto;\n                    object-fit: contain;\n                    display: block;\n                }\n\n                .${footerClass} .placeholder {\n                    width: 100%;\n                    height: 120px;\n                    background-color: rgba(0,0,0,0.08);\n                    display: flex;\n                    align-items: center;\n                    justify-content: center;\n                    border-radius: 8px;\n                    color: ${textColor||\"#111111\"};\n                    font-size: 14px;\n                    border: 1px dashed rgba(0,0,0,0.15);\n                }\n\n                .${footerClass} .right-col {\n                    display: flex;\n                    flex-direction: column;\n                    gap: 16px;\n                    text-align: right;\n                    align-items: flex-end;\n                    flex: 1 1 250px;\n                    min-width: 250px; \n                }\n\n                .${footerClass} a {\n                    color: inherit;\n                    text-decoration: none;\n                    font-size: 20px;\n                    cursor: pointer;\n                    display: inline-block;\n                    line-height: 1.3;\n                }\n\n                .${footerClass} .copyright {\n                    font-weight: 500;\n                    font-size: 18px;\n                    opacity: 0.95;\n                    white-space: nowrap;\n                }\n                \n                .${footerClass} .desktop-copy {\n                    margin-top: 24px;\n                }\n\n                .${footerClass} .mobile-copy {\n                    display: none;\n                    margin-top: 32px;\n                }\n\n                /* --- AJUSTE EST\\xc9TICO PARA TABLET Y M\\xd3VIL --- */\n                @media (max-width: 900px) {\n                    .${footerClass} {\n                        flex-direction: column;\n                        /* Obligamos a que todo el contenido se pegue a la parte superior */\n                        justify-content: flex-start; \n                        padding: 50px 5%;\n                        gap: 40px;\n                    }\n                    \n                    .${footerClass} .left-col {\n                        max-width: 100%;\n                        /* Esto evita que la columna crezca y deje ese hueco gigante */\n                        flex: 0 0 auto; \n                    }\n\n                    .${footerClass} img {\n                        max-width: 250px; \n                    }\n\n                    .${footerClass} .right-col {\n                        text-align: left; \n                        align-items: flex-start;\n                        width: 100%;\n                        /* Esto evita que los enlaces se empujen hacia el fondo */\n                        flex: 0 0 auto; \n                        gap: 14px; \n                    }\n\n                    .${footerClass} .desktop-copy {\n                        display: none; \n                    }\n\n                    .${footerClass} .mobile-copy {\n                        display: block; \n                    }\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:\"left-col\",children:[logoImage?/*#__PURE__*/_jsx(\"img\",{src:logoImage,alt:\"Altered Space Studio\"}):/*#__PURE__*/_jsx(\"div\",{className:\"placeholder\",children:\"Sube tu logo aqu\\xed\"}),/*#__PURE__*/_jsx(\"div\",{className:\"copyright mobile-copy\",children:copyrightText||\"\\xa9 2026\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"right-col\",children:[safeLinks.map((linkItem,index)=>{if(!linkItem||!linkItem.title)return null;let validHref=\"#\";if(linkItem.url&&typeof linkItem.url===\"string\"&&linkItem.url.trim()!==\"\"){validHref=linkItem.url.trim();}const handleClick=e=>{if(validHref===\"#\"){e.preventDefault();}};return /*#__PURE__*/_jsx(\"a\",{href:validHref,title:`Destino: ${validHref}`,onClick:handleClick,children:/*#__PURE__*/_jsx(motion.span,{style:{display:\"inline-block\"},whileHover:{opacity:.5,x:-5,transition:{duration:.15}},children:linkItem.title})},index);}),/*#__PURE__*/_jsx(\"div\",{className:\"copyright desktop-copy\",children:copyrightText||\"\\xa9 2026\"})]})]});}Footer.defaultProps={backgroundColor:\"#CFF073\",textColor:\"#111111\",links:[{title:\"Inicio\",url:\"/\"},{title:\"Proyectos\",url:\"/proyectos\"},{title:\"Servicios\",url:\"/servicios\"},{title:\"Sobre nosotras\",url:\"/sobre-nosotras\"},{title:\"Contacto\",url:\"/contacto\"}],copyrightText:\"\\xa9 2026\"};addPropertyControls(Footer,{logoImage:{type:ControlType.Image,title:\"Logo\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#CFF073\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#111111\"},fontStyle:{type:ControlType.Font,title:\"Typography\"},links:{type:ControlType.Array,title:\"Links\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\"},url:{type:ControlType.String,title:\"URL (Ej: /proyectos)\"}}},defaultValue:Footer.defaultProps.links},copyrightText:{type:ControlType.String,title:\"Copyright\",defaultValue:\"\\xa9 2026\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Footer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Footer_code.map"],"mappings":"oNAGG,SAAwB,EAAO,EAAM,CAAC,GAAK,CAAC,YAAU,kBAAgB,YAAU,YAAU,QAAM,gBAAc,SAAO,EAAY,EAAU,GAAO,CAAC,EAAQ,EAAY,uB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